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/20 14:12:00 UTC

[jira] [Created] (NETBEANS-6028) Javac is unnecessary inited & queried for Groovy class

Svatopluk Dedic created NETBEANS-6028:
-----------------------------------------

             Summary: Javac is unnecessary inited & queried for Groovy class
                 Key: NETBEANS-6028
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6028
             Project: NetBeans
          Issue Type: Bug
          Components: groovy - Editor
    Affects Versions: 12.5
            Reporter: Svatopluk Dedic


If a Groovy class references another Groovy class (not yet compiled). the name is first resolved to LookupResult with sourceUnit (= it's a groovy source), but still our CompileUnit.getClass() gets called and attempts to resolve the name using Javac - completely useless in this case.

Each javac invocation gives a small performance penalty and in this case, it is done for each such type, not sure about overall impac though

 



--
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