Skip to content

Commit

Permalink
HHH-6496 - Changed line 200 returning real object instead of proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamii authored and brmeyer committed Mar 25, 2013
1 parent d3867e9 commit a0bbf0d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -197,7 +197,7 @@ public Object invoke(
}
returnValue = thisMethod.invoke( target, args );
}
return returnValue == target ? proxy : returnValue;
return returnValue == target && returnValue.getClass().isInstance(proxy) ? proxy : returnValue;
}
catch ( InvocationTargetException ite ) {
throw ite.getTargetException();
Expand Down

0 comments on commit a0bbf0d

Please sign in to comment.