[
https://issues.jboss.org/browse/AS7-1294?page=com.atlassian.jira.plugin.s...
]
Jason Greene updated AS7-1294:
------------------------------
Fix Version/s: 7.1.2.Final
(was: 7.1.1.Final)
This issue is being relocated to 7.1.2 so that 7.1.1 only contains criticals, blockers,
and EAP LA issues (which are probably not yet at the right status, or need an extra triage
pass).
If these issues are completed in a 7.1.1 timeframe please change the fix version. Although
if you forget I will bulk correct.
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: jaikiran pai
Fix For: 7.1.2.Final
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