[jira] [Commented] (NETBEANS-337) Syntax highlighting shows "Cannot find symbol" error for correct use of JPA metamodel fields
[ https://issues.apache.org/jira/browse/NETBEANS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418638#comment-16418638 ] Karl Richter commented on NETBEANS-337: --- > I tried to download the testcase, and it seems the compilation using maven > fails there as well: You're right, I investigated this for 30 minutes now, and cannot remember what I wanted to express with this, sorry. I'll close the issue and reopen it, if I can reliably reproduce it. Thanks for taking the time. > 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 > Components: java - Editor >Affects Versions: 9.0 >Reporter: Karl Richter >Priority: Major > > 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-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-337) Syntax highlighting shows "Cannot find symbol" error for correct use of JPA metamodel fields
[ https://issues.apache.org/jira/browse/NETBEANS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418473#comment-16418473 ] Jan Lahoda commented on NETBEANS-337: - I tried to download the testcase, and it seems the compilation using maven fails there as well: - richtercloud/netbeans/jpa/metamodel/syntax/error/newpackage/NewMain.java:[17,72] incompatible types: javax.persistence.metamodel.SingularAttributecannot be converted to javax.persistence.metamodel.SingularAttribute 1 error - Am I doing something wrong? Thanks. > 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 > Components: java - Editor >Affects Versions: 9.0 >Reporter: Karl Richter >Priority: Major > > 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-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