summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java
diff options
context:
space:
mode:
authorGravatar liach2020-04-02 10:36:27 -0500
committerGravatar GitHub2020-04-02 16:36:27 +0100
commitccccfa1786d783867daf91fbfa522d4a5c55dfdb (patch)
treeb09cbde37e4757c993d59dfd70bfee81fbbd5e63 /src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java
parentMerge pull request #203 from Runemoro/fix-cfr (diff)
downloadenigma-fork-ccccfa1786d783867daf91fbfa522d4a5c55dfdb.tar.gz
enigma-fork-ccccfa1786d783867daf91fbfa522d4a5c55dfdb.tar.xz
enigma-fork-ccccfa1786d783867daf91fbfa522d4a5c55dfdb.zip
Support java 9+ and gradle 6+ (#206)
* Support java 9+ and gradle 6+ * Update asm Signed-off-by: liach <liach@users.noreply.github.com> * Use asm 8 and move that to a constant * Bump version * fix version format Co-authored-by: liach <liach@users.noreply.github.com>
Diffstat (limited to 'src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java')
-rw-r--r--src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java b/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java
index da2b5ef..80a7154 100644
--- a/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java
+++ b/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java
@@ -5,6 +5,7 @@ import cuchaz.enigma.analysis.index.InheritanceIndex;
5import cuchaz.enigma.translation.representation.AccessFlags; 5import cuchaz.enigma.translation.representation.AccessFlags;
6import cuchaz.enigma.translation.representation.entry.ClassDefEntry; 6import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
7import cuchaz.enigma.translation.representation.entry.ClassEntry; 7import cuchaz.enigma.translation.representation.entry.ClassEntry;
8import cuchaz.enigma.utils.Utils;
8import org.objectweb.asm.Type; 9import org.objectweb.asm.Type;
9import org.objectweb.asm.tree.analysis.BasicValue; 10import org.objectweb.asm.tree.analysis.BasicValue;
10import org.objectweb.asm.tree.analysis.SimpleVerifier; 11import org.objectweb.asm.tree.analysis.SimpleVerifier;
@@ -17,7 +18,7 @@ public class IndexSimpleVerifier extends SimpleVerifier {
17 private final InheritanceIndex inheritanceIndex; 18 private final InheritanceIndex inheritanceIndex;
18 19
19 public IndexSimpleVerifier(EntryIndex entryIndex, InheritanceIndex inheritanceIndex) { 20 public IndexSimpleVerifier(EntryIndex entryIndex, InheritanceIndex inheritanceIndex) {
20 super(ASM7, null, null, null, false); 21 super(Utils.ASM_VERSION, null, null, null, false);
21 this.entryIndex = entryIndex; 22 this.entryIndex = entryIndex;
22 this.inheritanceIndex = inheritanceIndex; 23 this.inheritanceIndex = inheritanceIndex;
23 } 24 }