Skip to content
This repository was archived by the owner on Nov 28, 2020. It is now read-only.

Commit ac8bc8b

Browse files
committed
Fix array types not being handled
1 parent 0ac0108 commit ac8bc8b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<groupId>me.coley</groupId>
44
<artifactId>jremapper</artifactId>
55
<url>https://github.com/Col-E/JRemapper/</url>
6-
<version>2.2.0</version>
6+
<version>2.3.0</version>
77
<name>JRemapper</name>
88
<description>A manual java bytecode deobfuscator</description>
99
<!--
1010
Variables
1111
-->
1212
<properties>
13-
<asm.version>6.2.1</asm.version>
14-
<cfr.version>132</cfr.version>
13+
<asm.version>7.2</asm.version>
14+
<cfr.version>148</cfr.version>
1515
</properties>
1616
<!-- Additional repo's -->
1717
<repositories>

src/me/coley/jremapper/parse/RegionMapper.java

+2
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,8 @@ private String getMethodDesc(MethodDeclaration md) {
663663
* {@link #getNameLookup(String)} or if it is a primitive or void type.
664664
*/
665665
private String getDescriptor(Type type) {
666+
if (type.isArrayType())
667+
return "[" + getDescriptor(type.asArrayType().getComponentType());
666668
return isPrim(type) ? primTypeToDesc(type) : typeToDesc(type);
667669
}
668670

0 commit comments

Comments
 (0)