Skip to content

Commit

Permalink
Revert "Using unwrappedResultType for the proxied class"
Browse files Browse the repository at this point in the history
This reverts commit 9bd97f0.
  • Loading branch information
lincolnthree committed Feb 8, 2013
1 parent 9bd97f0 commit 0963406
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private Object enhanceResult(final Method method, Object result)
if (returnTypeNeedsEnhancement(returnType, result, unwrappedResultType))
{
Class<?>[] resultHierarchy = ProxyTypeInspector.getCompatibleClassHierarchy(callingLoader,
Proxies.unwrapProxyTypes(unwrappedResultType, callingLoader, delegateLoader, resultInstanceLoader));
Proxies.unwrapProxyTypes(result.getClass(), callingLoader, delegateLoader, resultInstanceLoader));

Class<?>[] returnTypeHierarchy = ProxyTypeInspector.getCompatibleClassHierarchy(callingLoader,
Proxies.unwrapProxyTypes(returnType, callingLoader, delegateLoader, resultInstanceLoader));
Expand Down

0 comments on commit 0963406

Please sign in to comment.