diff options
| author | 2020-04-02 10:36:27 -0500 | |
|---|---|---|
| committer | 2020-04-02 16:36:27 +0100 | |
| commit | ccccfa1786d783867daf91fbfa522d4a5c55dfdb (patch) | |
| tree | b09cbde37e4757c993d59dfd70bfee81fbbd5e63 /src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java | |
| parent | Merge pull request #203 from Runemoro/fix-cfr (diff) | |
| download | enigma-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.java | 3 |
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; | |||
| 5 | import cuchaz.enigma.translation.representation.AccessFlags; | 5 | import cuchaz.enigma.translation.representation.AccessFlags; |
| 6 | import cuchaz.enigma.translation.representation.entry.ClassDefEntry; | 6 | import cuchaz.enigma.translation.representation.entry.ClassDefEntry; |
| 7 | import cuchaz.enigma.translation.representation.entry.ClassEntry; | 7 | import cuchaz.enigma.translation.representation.entry.ClassEntry; |
| 8 | import cuchaz.enigma.utils.Utils; | ||
| 8 | import org.objectweb.asm.Type; | 9 | import org.objectweb.asm.Type; |
| 9 | import org.objectweb.asm.tree.analysis.BasicValue; | 10 | import org.objectweb.asm.tree.analysis.BasicValue; |
| 10 | import org.objectweb.asm.tree.analysis.SimpleVerifier; | 11 | import 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 | } |