[jira] [Commented] (NETBEANS-4927) Error parsing of the JDK classes in editor
[ https://issues.apache.org/jira/browse/NETBEANS-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17429342#comment-17429342 ] Laszlo Kishalmi commented on NETBEANS-4927: --- Confirmed. Running NetBeans on Java 11, inspecing the mentioned class in Java 11 and Java 16. Java 8 worked. > Error parsing of the JDK classes in editor > -- > > Key: NETBEANS-4927 > URL: https://issues.apache.org/jira/browse/NETBEANS-4927 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing Indexing >Affects Versions: 12.1, 12.2, 12.3, 12.4, 12.5 >Reporter: Petr Miksik >Priority: Blocker > Attachments: DefaultMutableTreeNode.dump, ide.log, ui.log > > > The NetBeans IDE fails to pre-parse most of the common JDK classes. As a > result, many related functions do not work ('Ctrl + Left Click' method > navigation, Java Doc, syntax highlight etc). Sometimes, the JDK source file > is not found and must be selected manually. > See the dump file for DefaultMutableTreeNode class. > The problem occurs only with JDK 11 and higher, in both Linux and Windows > versions of the IDE. -- 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-4927) Error parsing of the JDK classes in editor
[ https://issues.apache.org/jira/browse/NETBEANS-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17245256#comment-17245256 ] Petr Miksik commented on NETBEANS-4927: --- I found a workaround to force the NetBeans to fully parse the file - just perform any single Inspection on affected file. It processes also all dependent files. > Error parsing of the JDK classes in editor > -- > > Key: NETBEANS-4927 > URL: https://issues.apache.org/jira/browse/NETBEANS-4927 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing Indexing >Affects Versions: 12.1, 12.2 >Reporter: Petr Miksik >Priority: Blocker > Attachments: DefaultMutableTreeNode.dump, ide.log, ui.log > > > For example _DefaultMutableTreeNode_, _AbstractButton_ or _JTree_ are ones of > the affected files. > Lots of classes are only partially parsed(in my case for example > _javax.naming.CompoundName_). > The problem appears only with JDK 11 and later, parsing files in the JDK 8 is > OK. > Clearing NetBeans cache does not help. -- 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