Svatopluk Dedic created NETBEANS-6075:
-----------------------------------------
Summary: Groovy loads user classes into JVM on each completion
Key: NETBEANS-6075
URL: https://issues.apache.org/jira/browse/NETBEANS-6075
Project: NetBeans
Issue Type: Bug
Components: groovy - Editor
Affects Versions: 12.5
Reporter: Svatopluk Dedic
Groovy Editor's *MetaElementsProvider* uses *GroovyClassLoader.loadClass*,
which in turn *compiles* and loads a .groovy file into JVM. The class is then
introspected, which is likely to trigger all JVM lazy-run stuff, as class
initializer, potentially executing something in the IDE's JVM.
The bad thing is that Groovy's MetaClass registry is a runtime implementation
centered around j.l.Class type. There's only a little chance to reuse
_anything_ from Groovy's implementation.
--
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