[
https://issues.apache.org/jira/browse/NETBEANS-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245256#comment-17245256
]
Petr Miksik edited comment on NETBEANS-4927 at 6/1/21, 1:00 PM:
----------------------------------------------------------------
I found a decent workaround to force the NetBeans to reparse affected files.
Perform a single inspection operation on the opened JDK source file. It invokes
the background scanning process and parse also some dependent files. But it
does work for every files.
was (Author: miksikp):
I found a workaround to force the NetBeans to reparse the files - just perform
any single Inspection on affected file. It processes also all dependent files.
But it only works until the next restart of the IDE.
> 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
> 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 java 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists