[
https://issues.jboss.org/browse/WELD-1117?page=com.atlassian.jira.plugin....
]
Jozef Hartinger updated WELD-1117:
----------------------------------
Description:
{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.
was:
{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.
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