Jozef Hartinger created WELD-1117:
-------------------------------------

             Summary: Disposer method check too strict
                 Key: WELD-1117
                 URL: https://issues.jboss.org/browse/WELD-1117
             Project: Weld
          Issue Type: Bug
          Components: Producers (Methods, Fields and Disposers)
    Affects Versions: 2.0.0.Alpha2
            Reporter: Jozef Hartinger
            Assignee: Jozef Hartinger
             Fix For: 2.0.0.Alpha3


{code:JAVA}
        if 
(!getEnhancedAnnotated().getEnhancedParameters().get(0).isAnnotationPresent(Disposes.class))
 {
            throw new DefinitionException(DISPOSE_NOT_FIRST_PARAM, 
disposalMethodInjectionPoint);
        }
{code}

in DisposalMethod.java is not a valid check.

--
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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to