Issue Type: Bug Bug
Assignee: Jozef Hartinger
Components: Interceptors and Decorators
Created: 24/Apr/13 9:03 AM
Description:

An interceptor with a method with the following signature causes Weld to throw an exception. The signature is allowed according to the interceptors spec.

@PreDestroy
public Object destroy(InvocationContext ctx) throws Exception {
    return doCall(ctx, preDestroy);
}

Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-001468 Method destroy defined on class com.sun.ejb.containers.interceptors.SystemInterceptorProxy is not defined according to the specification. It is annotated with @javax.annotation.PreDestroy but it does not have a void return type.
Fix Versions: 2.0.1.Final
Project: Weld
Priority: Major Major
Reporter: Jozef Hartinger
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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