Svatopluk Dedic created NETBEANS-5982:
-----------------------------------------
Summary: Groovy parser cannot handle annotations from source
Key: NETBEANS-5982
URL: https://issues.apache.org/jira/browse/NETBEANS-5982
Project: NetBeans
Issue Type: Bug
Components: groovy - Editor
Reporter: Svatopluk Dedic
Symbols resolved for annotations are inspected using *ClassNode.getTypeClass*()
called on the annotation's type. This attempts to *load annotation class into
JVM*.
If the referenced annotation is *in the same project*, the classes may not be
generated yet an the j.l.Class cannot be loaded. The compilation immediately
terminates with an internal error, bypassing rest of attributing work.
References to library annotations are OK - they are loaded from .class files
(althoug loading into JVM should be avoided)
--
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