Bug 901324 (JBPAPP6-1792)
Summary: | AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation are found in the class | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Josef Cacek <jcacek> |
Component: | EJB | Assignee: | Stuart Douglas <sdouglas> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Martiska <jmartisk> |
Severity: | high | Docs Contact: | Russell Dickenson <rdickens> |
Priority: | high | ||
Version: | 6.0.1 | CC: | ajustin, ehugonne, jcacek, kkhan, myarboro, pslavice, smumford |
Target Milestone: | ER2 | ||
Target Release: | EAP 6.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://jira.jboss.org/jira/browse/JBPAPP6-1792 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
In previous versions of JBoss EAP 6, classes were not checked for multiple @AroundInvoke methods.
As a result, the first one discovered would be used, and any others would be ignored.
In this release of the product, the deployment fails if there are multiple @AroundInvoke methods, alerting the developer to the problem.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-28 15:40:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Josef Cacek
2013-01-16 14:53:01 UTC
Link: Added: This issue is related to AS7-5897 Test (ignored for now) added in https://github.com/jbossas/jboss-as/pull/3892 {{org.jboss.as.test.integration.ejb.container.interceptor.ContainerInterceptorsTestCase}} {code} @Deployment(name = "incorrect-deployment") @ShouldThrowException(Exception.class) public static JavaArchive createIncorrectDeployment() { {code} Upstream PR : https://github.com/wildfly/wildfly/pull/6104 PR : https://github.com/jbossas/jboss-eap/pull/1164 Verified in 630ER2. The regression test passes. (e.g. http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-6x-as-testsuite-RHEL-matrix-openJDK6/116/jdk=openjdk-1.6.0-local,label_exp=RHEL5%26%26x86_64/testReport/org.jboss.as.test.integration.ejb.container.interceptor/ContainerInterceptorsTestCase/testMultipleAnnotatedInovkeAroundClass/) |