[jira] [Commented] (NETBEANS-5163) Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)
[ https://issues.apache.org/jira/browse/NETBEANS-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250827#comment-17250827 ] Arvind commented on NETBEANS-5163: -- This is an issue with the permits keyword, one of the workaround could be to un-install nb-javac . > Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and > before) > - > > Key: NETBEANS-5163 > URL: https://issues.apache.org/jira/browse/NETBEANS-5163 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 12.2 > Environment: Arch Linux with Jebrains JDK 11.0.9 >Reporter: Andreas Reichel >Assignee: Akshay Gupta >Priority: Major > Fix For: 12.3 > > Attachments: ThreadListWithSemaphore.java, ThreadMap.java, > image-2020-12-17-13-20-46-760.png, image-2020-12-17-13-20-52-170.png > > > unfortunately I face some serious problems with 12.2 and the nb-javac plugin: > 2 valid Java Classes will be marked as invalid code in the UI for no reason. > It is completely valid code, which compiles fine in the shell. Also, the same > project opens perfectly fine in Netbeans 12.1 and before (see screenshots for > illustration). > > Furthermore, I can reproduce this problem with the same code on 2 different > linux machines. The interesting part is: It affects always the same 2 > classes, while hundreds of other classes validate and compile without any > issues. > Although I was unable to spot anythign exceptional about these 2 classes. I > do not understand, what is going on. > > I have attached the 2 classes, maybe someone wants to have a look at it. > Please tell me, what further information I may provide. > > > !image-2020-12-17-13-20-52-170.png! > > !image-2020-12-17-13-20-46-760.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5163) Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)
[ https://issues.apache.org/jira/browse/NETBEANS-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250957#comment-17250957 ] Geertjan Wielenga commented on NETBEANS-5163: - Or just change the name of the variable from “permits” to something else. > Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and > before) > - > > Key: NETBEANS-5163 > URL: https://issues.apache.org/jira/browse/NETBEANS-5163 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 12.2 > Environment: Arch Linux with Jebrains JDK 11.0.9 >Reporter: Andreas Reichel >Assignee: Akshay Gupta >Priority: Major > Fix For: 12.3 > > Attachments: ThreadListWithSemaphore.java, ThreadMap.java, > image-2020-12-17-13-20-46-760.png, image-2020-12-17-13-20-52-170.png > > > unfortunately I face some serious problems with 12.2 and the nb-javac plugin: > 2 valid Java Classes will be marked as invalid code in the UI for no reason. > It is completely valid code, which compiles fine in the shell. Also, the same > project opens perfectly fine in Netbeans 12.1 and before (see screenshots for > illustration). > > Furthermore, I can reproduce this problem with the same code on 2 different > linux machines. The interesting part is: It affects always the same 2 > classes, while hundreds of other classes validate and compile without any > issues. > Although I was unable to spot anythign exceptional about these 2 classes. I > do not understand, what is going on. > > I have attached the 2 classes, maybe someone wants to have a look at it. > Please tell me, what further information I may provide. > > > !image-2020-12-17-13-20-52-170.png! > > !image-2020-12-17-13-20-46-760.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5163) Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)
[ https://issues.apache.org/jira/browse/NETBEANS-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251015#comment-17251015 ] Andreas Reichel commented on NETBEANS-5163: --- Thank you, renaming this variable is of course completely fine. I was not aware, that "permits" is a Java 15 keyword. > Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and > before) > - > > Key: NETBEANS-5163 > URL: https://issues.apache.org/jira/browse/NETBEANS-5163 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 12.2 > Environment: Arch Linux with Jebrains JDK 11.0.9 >Reporter: Andreas Reichel >Assignee: Akshay Gupta >Priority: Major > Fix For: 12.3 > > Attachments: ThreadListWithSemaphore.java, ThreadMap.java, > image-2020-12-17-13-20-46-760.png, image-2020-12-17-13-20-52-170.png > > > unfortunately I face some serious problems with 12.2 and the nb-javac plugin: > 2 valid Java Classes will be marked as invalid code in the UI for no reason. > It is completely valid code, which compiles fine in the shell. Also, the same > project opens perfectly fine in Netbeans 12.1 and before (see screenshots for > illustration). > > Furthermore, I can reproduce this problem with the same code on 2 different > linux machines. The interesting part is: It affects always the same 2 > classes, while hundreds of other classes validate and compile without any > issues. > Although I was unable to spot anythign exceptional about these 2 classes. I > do not understand, what is going on. > > I have attached the 2 classes, maybe someone wants to have a look at it. > Please tell me, what further information I may provide. > > > !image-2020-12-17-13-20-52-170.png! > > !image-2020-12-17-13-20-46-760.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5163) Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)
[ https://issues.apache.org/jira/browse/NETBEANS-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390088#comment-17390088 ] Matthias Bläsing commented on NETBEANS-5163: Is this still an issue? It was not marked resolved, but had a fix version. Removed that, so that 12.3 milestone can be closed. > Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and > before) > - > > Key: NETBEANS-5163 > URL: https://issues.apache.org/jira/browse/NETBEANS-5163 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 12.2 > Environment: Arch Linux with Jebrains JDK 11.0.9 >Reporter: Andreas Reichel >Assignee: Akshay Gupta >Priority: Major > Attachments: ThreadListWithSemaphore.java, ThreadMap.java, > image-2020-12-17-13-20-46-760.png, image-2020-12-17-13-20-52-170.png > > > unfortunately I face some serious problems with 12.2 and the nb-javac plugin: > 2 valid Java Classes will be marked as invalid code in the UI for no reason. > It is completely valid code, which compiles fine in the shell. Also, the same > project opens perfectly fine in Netbeans 12.1 and before (see screenshots for > illustration). > > Furthermore, I can reproduce this problem with the same code on 2 different > linux machines. The interesting part is: It affects always the same 2 > classes, while hundreds of other classes validate and compile without any > issues. > Although I was unable to spot anythign exceptional about these 2 classes. I > do not understand, what is going on. > > I have attached the 2 classes, maybe someone wants to have a look at it. > Please tell me, what further information I may provide. > > > !image-2020-12-17-13-20-52-170.png! > > !image-2020-12-17-13-20-46-760.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5163) Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)
[ https://issues.apache.org/jira/browse/NETBEANS-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390196#comment-17390196 ] Andreas Reichel commented on NETBEANS-5163: --- Thank you, it can be closed please. Unfortunately my Account does not longer seem to work. Best regards Andreas > Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and > before) > - > > Key: NETBEANS-5163 > URL: https://issues.apache.org/jira/browse/NETBEANS-5163 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 12.2 > Environment: Arch Linux with Jebrains JDK 11.0.9 >Reporter: Andreas Reichel >Assignee: Akshay Gupta >Priority: Major > Attachments: ThreadListWithSemaphore.java, ThreadMap.java, > image-2020-12-17-13-20-46-760.png, image-2020-12-17-13-20-52-170.png > > > unfortunately I face some serious problems with 12.2 and the nb-javac plugin: > 2 valid Java Classes will be marked as invalid code in the UI for no reason. > It is completely valid code, which compiles fine in the shell. Also, the same > project opens perfectly fine in Netbeans 12.1 and before (see screenshots for > illustration). > > Furthermore, I can reproduce this problem with the same code on 2 different > linux machines. The interesting part is: It affects always the same 2 > classes, while hundreds of other classes validate and compile without any > issues. > Although I was unable to spot anythign exceptional about these 2 classes. I > do not understand, what is going on. > > I have attached the 2 classes, maybe someone wants to have a look at it. > Please tell me, what further information I may provide. > > > !image-2020-12-17-13-20-52-170.png! > > !image-2020-12-17-13-20-46-760.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists