You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/09/28 20:53:00 UTC
[jira] [Created] (NETBEANS-6075) Groovy loads user classes into JVM
on each completion
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: 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