You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/14 12:34:00 UTC

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

     [ https://issues.apache.org/jira/browse/NETBEANS-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated NETBEANS-3387:
-------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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