Skip to content

Commit 71cf7a9

Browse files
authored
Merge pull request #478 from ThexXTURBOXx/master
Update dependencies
2 parents eda6416 + eb6fea3 commit 71cf7a9

4 files changed

Lines changed: 21 additions & 31 deletions

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
java: [ '8', '11', '17' ] # LTS versions
17+
java: [ '8', '11', '17', '21' ] # LTS versions
1818

1919
steps:
2020
- uses: actions/checkout@v3

pom.xml

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,27 @@
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414

1515
<!-- Dependency versions -->
16-
<annotations.version>24.0.1</annotations.version>
17-
<antlr4.version>4.9.3</antlr4.version>
18-
<apktool.version>2.8.0</apktool.version>
19-
<asm.version>9.5</asm.version>
16+
<annotations.version>24.1.0</annotations.version>
17+
<apktool.version>2.9.1</apktool.version>
18+
<asm.version>9.6</asm.version>
2019
<bined.version>0.2.0</bined.version>
2120
<byteanalysis.version>1.0bcv</byteanalysis.version>
2221
<cfr.version>0.152</cfr.version>
2322
<cloning.version>1.9.12</cloning.version>
24-
<commons-cli.version>1.5.0</commons-cli.version>
23+
<commons-cli.version>1.6.0</commons-cli.version>
2524
<commons-codec.version>1.16.0</commons-codec.version>
26-
<commons-compiler.version>3.1.10</commons-compiler.version>
27-
<commons-compress.version>1.23.0</commons-compress.version>
28-
<commons-io.version>2.13.0</commons-io.version>
29-
<commons-lang3.version>3.12.0</commons-lang3.version>
30-
<commons-text.version>1.10.0</commons-text.version>
25+
<commons-compiler.version>3.1.11</commons-compiler.version>
26+
<commons-compress.version>1.25.0</commons-compress.version>
27+
<commons-io.version>2.15.1</commons-io.version>
28+
<commons-lang3.version>3.14.0</commons-lang3.version>
29+
<commons-text.version>1.11.0</commons-text.version>
3130
<darklaf.version>3.0.2</darklaf.version>
3231
<darklaf-extensions-rsta.version>0.4.1</darklaf-extensions-rsta.version>
33-
<decompiler-fernflower.version>6.2.5.Final</decompiler-fernflower.version>
34-
<dex2jar.version>v64</dex2jar.version>
32+
<decompiler-fernflower.version>6.3.4.Final</decompiler-fernflower.version>
33+
<dex2jar.version>2.4.7</dex2jar.version>
3534
<fernflower.version>e0d44f4</fernflower.version>
3635
<gson.version>2.10.1</gson.version>
37-
<guava.version>32.1.1-jre</guava.version>
36+
<guava.version>32.1.3-jre</guava.version>
3837
<httprequest.version>2.2.0</httprequest.version>
3938
<imgscalr-lib.version>4.2</imgscalr-lib.version>
4039
<jadx.version>1.4.7</jadx.version>
@@ -44,9 +43,9 @@
4443
<objenesis.version>3.3</objenesis.version>
4544
<paged-data.version>0.2.0</paged-data.version>
4645
<procyon.version>0.6.0</procyon.version>
47-
<rsyntaxtextarea.version>3.3.3</rsyntaxtextarea.version>
46+
<rsyntaxtextarea.version>3.3.4</rsyntaxtextarea.version>
4847
<semantic-version.version>2.1.1</semantic-version.version>
49-
<slf4j.version>2.0.7</slf4j.version>
48+
<slf4j.version>2.0.9</slf4j.version>
5049
<smali.version>3.0.3</smali.version>
5150
<safeyaml.version>1.34.1</safeyaml.version>
5251
<treelayout.version>1.0.3</treelayout.version>
@@ -339,7 +338,7 @@
339338
</exclusions>
340339
</dependency>
341340
<dependency>
342-
<groupId>com.github.ThexXTURBOXx</groupId>
341+
<groupId>de.femtopedia.dex2jar</groupId>
343342
<artifactId>dex2jar</artifactId>
344343
<version>${dex2jar.version}</version>
345344
</dependency>
@@ -368,17 +367,6 @@
368367
<artifactId>org.abego.treelayout.core</artifactId>
369368
<version>${treelayout.version}</version>
370369
</dependency>
371-
<dependency>
372-
<groupId>org.antlr</groupId>
373-
<artifactId>antlr4</artifactId>
374-
<version>${antlr4.version}</version>
375-
<exclusions>
376-
<exclusion>
377-
<groupId>com.ibm.icu</groupId>
378-
<artifactId>icu4j</artifactId>
379-
</exclusion>
380-
</exclusions>
381-
</dependency>
382370

383371
<!-- TODO Re-add for Graal.JS support -->
384372
<!--<dependency>
@@ -442,7 +430,7 @@
442430
</filter>
443431
<!-- Ignore all ASM-related files from d2j-external but MCTLE fix -->
444432
<filter>
445-
<artifact>com.github.ThexXTURBOXx.dex2jar:d2j-external</artifact>
433+
<artifact>de.femtopedia.dex2jar:d2j-external</artifact>
446434
<excludeDefaults>true</excludeDefaults>
447435
<includes>
448436
<include>com/android/**</include>

src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/SmaliDisassembler.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package the.bytecode.club.bytecodeviewer.decompilers.impl;
22

3+
import com.googlecode.d2j.smali.BaksmaliCmd;
34
import java.io.File;
45
import java.io.FileOutputStream;
56
import java.io.IOException;
@@ -73,7 +74,7 @@ public String decompileClassNode(ClassNode cn, byte[] b)
7374
Dex2Jar.saveAsDex(tempClass, tempDex, true);
7475

7576
try {
76-
com.googlecode.d2j.smali.BaksmaliCmd.main(tempDex.getAbsolutePath(),
77+
BaksmaliCmd.main(tempDex.getAbsolutePath(),
7778
"-o", tempDexOut.getAbsolutePath());
7879
} catch (Exception e) {
7980
StringWriter sw = new StringWriter();
@@ -116,7 +117,7 @@ public String decompileClassNode(ClassNode cn, byte[] b)
116117

117118
exception += ExceptionUI.SEND_STACKTRACE_TO_NL + sw;
118119
}
119-
120+
120121
return SMALI + " " + DISASSEMBLER + " " + ERROR + "! " + ExceptionUI.SEND_STACKTRACE_TO +
121122
nl + nl + TranslatedStrings.SUGGESTED_FIX_DECOMPILER_ERROR +
122123
nl + nl + exception;

src/main/resources/translations/german.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
"HEXCODE": "Hexcode",
9797
"BYTECODE": "Bytecode",
9898
"ASM_TEXTIFY": "ASM Textify",
99+
"ASMIFIER": "ASMifier",
99100

100101
"BYTECODE_DECOMPILER": "Bytecode-Dekompilierer",
101102
"DEBUG_HELPERS": "Debug-Helfer",

0 commit comments

Comments
 (0)