tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject [3/5] tomee git commit: Build fixes
Date Thu, 03 Aug 2017 22:15:29 GMT
Build fixes


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

Branch: refs/heads/master
Commit: efbdc87fa6e0de223c90aec5fbc3ce749b05cb9e
Parents: dec5396
Author: Jonathan Gallimore <jon@jrg.me.uk>
Authored: Wed Aug 2 12:26:40 2017 +0100
Committer: Jonathan Gallimore <jon@jrg.me.uk>
Committed: Wed Aug 2 12:26:40 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/openejb/dyni/DynamicSubclass.java     | 2 +-
 .../java/org/apache/openejb/resource/AutoConnectionTracker.java    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/efbdc87f/container/openejb-core/src/main/java/org/apache/openejb/dyni/DynamicSubclass.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/dyni/DynamicSubclass.java
b/container/openejb-core/src/main/java/org/apache/openejb/dyni/DynamicSubclass.java
index 44e1256..7ce6934 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/dyni/DynamicSubclass.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/dyni/DynamicSubclass.java
@@ -84,7 +84,7 @@ public class DynamicSubclass implements Opcodes {
                 // no-op
             }
 
-            return LocalBeanProxyFactory.Unsafe.defineClass(abstractClass, proxyName, generateBytes(abstractClass));
+            return LocalBeanProxyFactory.Unsafe.defineClass(cl, abstractClass, proxyName,
generateBytes(abstractClass, proxyNonAbstractMethods));
 
         } catch (final Exception e) {
             throw new InternalError(DynamicSubclass.class.getSimpleName() + ".createSubclass:
" + Debug.printStackTrace(e));

http://git-wip-us.apache.org/repos/asf/tomee/blob/efbdc87f/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java
b/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java
index 125e37a..e896aa1 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java
@@ -23,6 +23,8 @@ import org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor;
 import org.apache.geronimo.connector.outbound.ManagedConnectionInfo;
 import org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTracker;
 import org.apache.openejb.dyni.DynamicSubclass;
+import org.apache.openejb.util.LogCategory;
+import org.apache.openejb.util.Logger;
 import org.apache.openejb.util.proxy.LocalBeanProxyFactory;
 
 import javax.resource.ResourceException;


Mime
View raw message