You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Karl Richter (JIRA)" <ji...@apache.org> on 2018/01/26 06:32:00 UTC

[jira] [Created] (NETBEANS-337) Syntax highlighting shows "Cannot find symbol" error for correct use of JPA metamodel fields

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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists