[jboss-jira] [JBoss JIRA] (AS7-1294) Don't inject into static fields/methods
Eduardo Martins (JIRA)
jira-events at lists.jboss.org
Tue Aug 7 05:16:07 EDT 2012
[ https://issues.jboss.org/browse/AS7-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduardo Martins updated AS7-1294:
---------------------------------
Fix Version/s: 7.1.3.Final (EAP)
Git Pull Request: https://github.com/jbossas/jboss-as/pull/2713 (was: https://github.com/jbossas/jboss-as/pull/2713)
Forum Reference: http://community.jboss.org/message/615371#615371 (was: http://community.jboss.org/message/615371#615371)
> Don't inject into static fields/methods
> ---------------------------------------
>
> Key: AS7-1294
> URL: https://issues.jboss.org/browse/AS7-1294
> Project: Application Server 7
> Issue Type: Bug
> Components: EE
> Affects Versions: 7.0.0.Final
> Reporter: jaikiran pai
> Assignee: Eduardo Martins
> Fix For: 7.1.3.Final (EAP), 7.2.0.Alpha1
>
>
> The Java EE6 spec, section EE.5.2.5 says:
> {quote}
> The field or method may have any access qualifier (public, private, etc.). For all classes except application client
> main classes, the fields or methods must not be static.
> {quote}
> Currently we even inject even into static fields/methods.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list