Karl Richter created NETBEANS-337:
-------------------------------------
Summary: Syntax highlighting shows "Cannot find symbol" error for
correct use of JPA metamodel fields
Key: NETBEANS-337
URL: https://issues.apache.org/jira/browse/NETBEANS-337
Project: NetBeans
Issue Type: Bug
Affects Versions: 9.0
Reporter: Karl Richter
The `public static volatile` fields of generated sources for JPA metamodels are
not recognized/cause "Cannot find symbol" displayed in syntax highlighting if
the field is declared in a superclass.
Unfortunately, the issue occurs randomly and I didn't figure out how to trigger
it's resolution, however the syntax of the code is always correct and never
causes compilation errors. The SSCCE at
https://gitlab.com/krichter/netbeans-jpa-metamodel-syntax-error/tree/netbeans-issue
(branch `netbeans-issue`) seems to demonstrate it reliably.
experienced with 9.0-beta-rc2-43-g346c2aba4
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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