HHH-6496 Added LOG
This commit is contained in:
parent
a0bbf0d029
commit
bb231dd378
|
@ -197,7 +197,16 @@ public class JavassistLazyInitializer extends BasicLazyInitializer implements Me
|
||||||
}
|
}
|
||||||
returnValue = thisMethod.invoke( target, args );
|
returnValue = thisMethod.invoke( target, args );
|
||||||
}
|
}
|
||||||
return returnValue == target && returnValue.getClass().isInstance(proxy) ? proxy : returnValue;
|
|
||||||
|
if ( returnValue == target ) {
|
||||||
|
if ( returnValue.getClass().isInstance(proxy) ) {
|
||||||
|
return proxy;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
LOG.narrowingProxy( returnValue.getClass() );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return returnValue;
|
||||||
}
|
}
|
||||||
catch ( InvocationTargetException ite ) {
|
catch ( InvocationTargetException ite ) {
|
||||||
throw ite.getTargetException();
|
throw ite.getTargetException();
|
||||||
|
|
Loading…
Reference in New Issue