[webbeans-issues] [JBoss JIRA] Created: (WBRI-209) The container allows scope types with invalid @Target values
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Wed Mar 25 23:53:22 EDT 2009
The container allows scope types with invalid @Target values
------------------------------------------------------------
Key: WBRI-209
URL: https://jira.jboss.org/jira/browse/WBRI-209
Project: Web Beans
Issue Type: Bug
Affects Versions: 1.0.0.BETA1
Reporter: Shane Bryzak
In section 2.4.2 the spec states:
"A scope type is a Java annotation defined as @Target({TYPE, METHOD, FIELD}) and @Retention(RUNTIME). All scope
types must also specify the @javax.context.ScopeType meta-annotation."
However, the container is allowing scope types with a target for example of @Target({TYPE, METHOD}). The spec does not state what the behaviour should be when an invalid scope type is encountered (possibly a DefinitionException on deployment?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list