]
George Gastaldi updated FORGE-2151:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Fix Version/s: 2.12.3.Final
(was: 2.x Future)
Resolution: Done
cdi-new-interceptor doesn't generate an @AroundInvoke on the
method
-------------------------------------------------------------------
Key: FORGE-2151
URL:
https://issues.jboss.org/browse/FORGE-2151
Project: Forge
Issue Type: Bug
Components: Java EE
Affects Versions: 2.12.2.Final
Reporter: Antonio Goncalves
Assignee: Antonio Goncalves
Fix For: 2.12.3.Final
The {{cdi-new-interceptor}} generates the following method :
{code}
private Object intercept(InvocationContext ic) throws Exception
{
try
{
return ic.proceed();
}
finally
{
}
}
{code}
It misses an {{@AroundInvoke}}
{code}
@AroundInvoke
private Object intercept(InvocationContext ic) throws Exception
{
try
{
return ic.proceed();
}
finally
{
}
}
{code}