[weld-issues] [JBoss JIRA] (WELD-1117) Disposer method check too strict

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Thu Apr 26 06:58:18 EDT 2012


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

        


More information about the weld-issues mailing list