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/bytecode | |
| 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/bytecode')
| -rw-r--r-- | src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java b/src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java index e66b085..8e7780e 100644 --- a/src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java +++ b/src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | package cuchaz.enigma.bytecode.translators; | 1 | package cuchaz.enigma.bytecode.translators; |
| 2 | 2 | ||
| 3 | import cuchaz.enigma.utils.Utils; | ||
| 3 | import org.objectweb.asm.Opcodes; | 4 | import org.objectweb.asm.Opcodes; |
| 4 | import org.objectweb.asm.signature.SignatureVisitor; | 5 | import org.objectweb.asm.signature.SignatureVisitor; |
| 5 | 6 | ||
| @@ -13,7 +14,7 @@ public class TranslationSignatureVisitor extends SignatureVisitor { | |||
| 13 | private final Stack<String> classStack = new Stack<>(); | 14 | private final Stack<String> classStack = new Stack<>(); |
| 14 | 15 | ||
| 15 | public TranslationSignatureVisitor(Function<String, String> remapper, SignatureVisitor sv) { | 16 | public TranslationSignatureVisitor(Function<String, String> remapper, SignatureVisitor sv) { |
| 16 | super(Opcodes.ASM5); | 17 | super(Utils.ASM_VERSION); |
| 17 | this.remapper = remapper; | 18 | this.remapper = remapper; |
| 18 | this.sv = sv; | 19 | this.sv = sv; |
| 19 | } | 20 | } |