You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2019/06/02 20:15:03 UTC

[tomee] 02/02: Added a method to retrieve the defineClassMethod of last superclass of ClassLoader

This is an automated email from the ASF dual-hosted git repository.

jgallimore pushed a commit to branch tomee-7.0.x
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 84dce8114256d345957d098ac0aab96baf31cb1a
Author: Salomon Mayengue Mankong <Sa...@bottomline.com>
AuthorDate: Tue Feb 12 16:20:51 2019 +0100

    Added a method to retrieve the defineClassMethod of last superclass of ClassLoader
    
    renamed variable to unsafeDefineClass
    
    instead of throw exception , log it when Unsafe's defineClass is not available
---
 .../org/apache/openejb/util/proxy/LocalBeanProxyFactory.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/proxy/LocalBeanProxyFactory.java b/container/openejb-core/src/main/java/org/apache/openejb/util/proxy/LocalBeanProxyFactory.java
index 20e9ab9..053e4d4 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/util/proxy/LocalBeanProxyFactory.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/util/proxy/LocalBeanProxyFactory.java
@@ -21,11 +21,11 @@ package org.apache.openejb.util.proxy;
 import org.apache.openejb.util.LogCategory;
 import org.apache.openejb.util.Logger;
 import org.apache.openejb.util.Debug;
-import org.apache.xbean.asm6.ClassWriter;
-import org.apache.xbean.asm6.Label;
-import org.apache.xbean.asm6.MethodVisitor;
-import org.apache.xbean.asm6.Opcodes;
-import org.apache.xbean.asm6.Type;
+import org.apache.xbean.asm7.ClassWriter;
+import org.apache.xbean.asm7.Label;
+import org.apache.xbean.asm7.MethodVisitor;
+import org.apache.xbean.asm7.Opcodes;
+import org.apache.xbean.asm7.Type;
 
 import javax.ejb.EJBException;
 import java.io.Serializable;