Repository: deltaspike
Updated Branches:
  refs/heads/master 1a706f35d -> eb8dc9a89


DELTASPIKE-823 pass original method to the invocationhandler, not the proxy 
method

Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/efb2c0df
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/efb2c0df
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/efb2c0df

Branch: refs/heads/master
Commit: efb2c0dfc31c52d67b4339cd4a023842d3c9b231
Parents: 1a706f3
Author: Thomas Andraschko <tandrasc...@apache.org>
Authored: Sat Feb 14 10:59:06 2015 +0100
Committer: Thomas Andraschko <tandrasc...@apache.org>
Committed: Sat Feb 14 10:59:06 2015 +0100

----------------------------------------------------------------------
 .../apache/deltaspike/partialbean/impl/ASMProxyClassGenerator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/efb2c0df/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/ASMProxyClassGenerator.java
----------------------------------------------------------------------
diff --git 
a/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/ASMProxyClassGenerator.java
 
b/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/ASMProxyClassGenerator.java
index 25b8a88..f8292dd 100644
--- 
a/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/ASMProxyClassGenerator.java
+++ 
b/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/ASMProxyClassGenerator.java
@@ -195,7 +195,7 @@ public abstract class ASMProxyClassGenerator
 
         Label tryBlockStart = exceptionTypes.length > 0 ? mg.mark() : null;
 
-        mg.push(proxyType);
+        mg.push(Type.getType(method.getDeclaringClass()));
 
         // the following code generates the bytecode for this line of Java:
         // Method method = <proxy>.class.getMethod("add", new Class[] { <array 
of function argument classes> });

Reply via email to