Andreas Reichel created NETBEANS-5163:
-----------------------------------------

             Summary: 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
             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

Reply via email to