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