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 2019/11/14 10:19:00 UTC

[jira] [Created] (NETBEANS-3387) Indexed runs annotation Processors with no CodeSource.location

Svatopluk Dedic created NETBEANS-3387:
-----------------------------------------

             Summary: Indexed runs annotation Processors with no CodeSource.location 
                 Key: NETBEANS-3387
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3387
             Project: NetBeans
          Issue Type: Bug
          Components: java - Source
    Affects Versions: 11.2
            Reporter: Svatopluk Dedic
            Assignee: Svatopluk Dedic


An annotation processor attempts to locate "nearby" data files, where "nearby" means next to its JAR/class location. When run as part of NetBeans indexing, it is loaded by {{CachingArchiveClassLoader}}, which does not set the {{ProtectionDomain}} for the loaded classes at all.

This is a difference from the environment that standard Javac creates, and may cause the Processor to throw exception and abort the compilation.



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