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

Reply via email to