[jboss-jira] [JBoss JIRA] (WFLY-910) Using an annotation from a private api module does not result in a warning

Stuart Douglas (JIRA) issues at jboss.org
Mon Apr 14 05:20:34 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved WFLY-910.
---------------------------------

    Resolution: Won't Fix


We have warnings at deployment time if a user is referencing a private module. 

There is no real need to add additional checks for annotation usage (if we were going to do annotations then why not other classes as well? there is nothing special about annotations). Also given that we have already warned them once there is no real need to pollute the logs with additional messages. 
                
> Using an annotation from a private api module does not result in a warning
> --------------------------------------------------------------------------
>
>                 Key: WFLY-910
>                 URL: https://issues.jboss.org/browse/WFLY-910
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Class Loading
>    Affects Versions: JBoss AS7 7.2.0.Final
>            Reporter: Carlo de Wolf
>
> If an user deployment uses an annotation from a module that is marked as private there is no warning being emitted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list