Repository: tomee
Updated Branches:
  refs/heads/tomee-1.7.x 4401c5142 -> 7e5626151


Revert "some forgotten ASM upgrades"

This reverts commit 11b99595be7ffc52e299fc9ac8dc9efe7d4b9996.


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

Branch: refs/heads/tomee-1.7.x
Commit: e9023cf43b835768f5ed93ce028e47a7ef5416a7
Parents: 4401c51
Author: Jonathan Gallimore <j...@jrg.me.uk>
Authored: Fri Feb 23 14:54:06 2018 +0000
Committer: Jonathan Gallimore <j...@jrg.me.uk>
Committed: Fri Feb 23 14:54:06 2018 +0000

----------------------------------------------------------------------
 .../apache/openejb/config/PersistenceContextAnnFactory.java    | 2 +-
 .../src/main/java/org/apache/openejb/dyni/DynamicSubclass.java | 6 +++---
 .../main/java/org/apache/openejb/util/AnnotationFinder.java    | 2 +-
 .../src/test/java/org/apache/openejb/DependencyVisitor.java    | 2 +-
 .../src/test/java/org/apache/openejb/core/cmp/jpa/JpaTest.java | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/e9023cf4/container/openejb-core/src/main/java/org/apache/openejb/config/PersistenceContextAnnFactory.java
----------------------------------------------------------------------
diff --git 
a/container/openejb-core/src/main/java/org/apache/openejb/config/PersistenceContextAnnFactory.java
 
b/container/openejb-core/src/main/java/org/apache/openejb/config/PersistenceContextAnnFactory.java
index a6e012f..644d190 100644
--- 
a/container/openejb-core/src/main/java/org/apache/openejb/config/PersistenceContextAnnFactory.java
+++ 
b/container/openejb-core/src/main/java/org/apache/openejb/config/PersistenceContextAnnFactory.java
@@ -236,7 +236,7 @@ public class PersistenceContextAnnFactory {
         private final AsmPersistenceContext persistenceContext = new 
AsmPersistenceContext();
 
         public PersistenceContextVisitor(final String className, final String 
memberName, final Map<String, AsmPersistenceContext> contexts) {
-            super(Opcodes.ASM6);
+            super(Opcodes.ASM5);
             this.contexts = contexts;
             persistenceContext.name = className + "/" + memberName;
         }

http://git-wip-us.apache.org/repos/asf/tomee/blob/e9023cf4/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 3eaa9f4..da6d617 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
@@ -297,7 +297,7 @@ public class DynamicSubclass implements Opcodes {
         private final MethodVisitor newMethod;
 
         public MoveAnnotationsVisitor(final MethodVisitor movedMethod, final 
MethodVisitor newMethod) {
-            super(Opcodes.ASM6, movedMethod);
+            super(Opcodes.ASM5, movedMethod);
             this.newMethod = newMethod;
         }
 
@@ -323,7 +323,7 @@ public class DynamicSubclass implements Opcodes {
         private final ClassVisitor newClass;
 
         public CopyClassAnnotations(final ClassVisitor newClass) {
-            super(Opcodes.ASM6);
+            super(Opcodes.ASM5);
             this.newClass = newClass;
         }
 
@@ -337,7 +337,7 @@ public class DynamicSubclass implements Opcodes {
         private final Map<String, MethodVisitor> visitors;
 
         public CopyMethodAnnotations(final Map<String, MethodVisitor> 
visitors) {
-            super(Opcodes.ASM6);
+            super(Opcodes.ASM5);
             this.visitors = visitors;
         }
 

http://git-wip-us.apache.org/repos/asf/tomee/blob/e9023cf4/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java
----------------------------------------------------------------------
diff --git 
a/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java
 
b/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java
index 6833ff5..b271574 100644
--- 
a/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java
+++ 
b/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java
@@ -327,7 +327,7 @@ public class AnnotationFinder {
         private final Filter filter;
 
         public Visitor(final Filter filter) {
-            super(Opcodes.ASM6);
+            super(Opcodes.ASM5);
             this.filter = filter;
 
             try {

http://git-wip-us.apache.org/repos/asf/tomee/blob/e9023cf4/container/openejb-core/src/test/java/org/apache/openejb/DependencyVisitor.java
----------------------------------------------------------------------
diff --git 
a/container/openejb-core/src/test/java/org/apache/openejb/DependencyVisitor.java
 
b/container/openejb-core/src/test/java/org/apache/openejb/DependencyVisitor.java
index 6f8a215..fcaa6f8 100644
--- 
a/container/openejb-core/src/test/java/org/apache/openejb/DependencyVisitor.java
+++ 
b/container/openejb-core/src/test/java/org/apache/openejb/DependencyVisitor.java
@@ -401,7 +401,7 @@ public class DependencyVisitor extends EmptyVisitor {
         private final DependencyVisitor delegate;
 
         public SignatureAdapter(final DependencyVisitor dependencyVisitor) {
-            super(Opcodes.ASM6);
+            super(Opcodes.ASM5);
             delegate = dependencyVisitor;
         }
 

http://git-wip-us.apache.org/repos/asf/tomee/blob/e9023cf4/container/openejb-core/src/test/java/org/apache/openejb/core/cmp/jpa/JpaTest.java
----------------------------------------------------------------------
diff --git 
a/container/openejb-core/src/test/java/org/apache/openejb/core/cmp/jpa/JpaTest.java
 
b/container/openejb-core/src/test/java/org/apache/openejb/core/cmp/jpa/JpaTest.java
index 5ea8aa4..61c4ce6 100644
--- 
a/container/openejb-core/src/test/java/org/apache/openejb/core/cmp/jpa/JpaTest.java
+++ 
b/container/openejb-core/src/test/java/org/apache/openejb/core/cmp/jpa/JpaTest.java
@@ -371,7 +371,7 @@ public class JpaTest extends TestCase {
 
     public static class FieldAdderClassVisitor extends ClassVisitor {
         public FieldAdderClassVisitor(final ClassVisitor classVisitor) {
-            super(Opcodes.ASM6, classVisitor);
+            super(Opcodes.ASM5, classVisitor);
         }
 
         public void visitEnd() {

Reply via email to