Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2017-12-03 10:34:01 -0500
committerStephan Herrmann2017-12-03 10:34:01 -0500
commitf7b4a08acfebcc52b645d5fefd4c28a6d39c5d07 (patch)
treeb2047e547ffde7e93edb5fd01555b8ab4fe09fbb
parent669a31b511ec8a77bc013117a6a39ce631b1102a (diff)
downloadorg.eclipse.objectteams-f7b4a08acfebcc52b645d5fefd4c28a6d39c5d07.tar.gz
org.eclipse.objectteams-f7b4a08acfebcc52b645d5fefd4c28a6d39c5d07.tar.xz
org.eclipse.objectteams-f7b4a08acfebcc52b645d5fefd4c28a6d39c5d07.zip
Bug 527086: [java9] Support Java 9builds/201712031505
- raise ASM API level to 6
-rw-r--r--plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/AsmBoundClass.java2
-rw-r--r--plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/verify/OTCheckClassAdapter.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/AsmBoundClass.java b/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/AsmBoundClass.java
index d9e5917af..3998941fe 100644
--- a/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/AsmBoundClass.java
+++ b/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/AsmBoundClass.java
@@ -34,7 +34,7 @@ import org.objectweb.asm.Opcodes;
*/
public abstract class AsmBoundClass extends AbstractTeam {
- public static final int ASM_API = Opcodes.ASM5;
+ public static final int ASM_API = Opcodes.ASM6;
private IBytecodeProvider bytecodeProvider;
diff --git a/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/verify/OTCheckClassAdapter.java b/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/verify/OTCheckClassAdapter.java
index 87d11c3b7..e7604f574 100644
--- a/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/verify/OTCheckClassAdapter.java
+++ b/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/bytecode/asm/verify/OTCheckClassAdapter.java
@@ -24,6 +24,7 @@ import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
+import org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor;
@@ -151,7 +152,7 @@ public class OTCheckClassAdapter extends org.objectweb.asm.util.CheckClassAdapte
}
public OTCheckClassAdapter(ClassVisitor cv, boolean checkDataFlow) {
- super(Opcodes.ASM5, cv, checkDataFlow);
+ super(AsmBoundClass.ASM_API, cv, checkDataFlow);
}
/**

Back to the top