[
https://jira.jboss.org/jira/browse/CDITCK-102?page=com.atlassian.jira.plu...
]
Gurkan Erdogdu commented on CDITCK-102:
---------------------------------------
This is still wrong in 1.0 branch and trunk. In corrected code, it throws checked
Exception.
@PreDestroy public void destroy(InvocationContext ctx) throws Exception
But according to the Interceptor specification, "Lifecycle callback interceptor
methods may throw runtime exceptions, but not checked exceptions.".
org.jboss.jsr299.tck.tests.context.dependent.TransactionalInterceptor
has incorrect postconstructor interceptor definition
--------------------------------------------------------------------------------------------------------------------------
Key: CDITCK-102
URL:
https://jira.jboss.org/jira/browse/CDITCK-102
Project: CDI TCK
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.0.1.CR1
Reporter: Marius Bogoevici
Assignee: Marius Bogoevici
Fix For: 1.0.1.GA, 1.1.0.CR1
According to the EJB Interceptor 1.1 specification, lifecycle interceptor methods defined
on an interceptor class must have the signature:
void <METHOD>(InvocationContext)
--
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