Skip to content

Commit 40e530c

Browse files
committed
Fixed type parsing exception
1 parent 4c82df0 commit 40e530c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/kotlin/com/github/jonathanxd/bytecodedisassembler

‎src/main/kotlin/com/github/jonathanxd/bytecodedisassembler/Util.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ internal object Util {
9191
if (type == null)
9292
return null
9393

94-
if (!type.startsWith("L") && type.length > 1)
94+
if ((!type.startsWith("L") || !type.endsWith(";")) && type.length > 1)
9595
return Type.getObjectType(type).className ?: type
9696

9797
val clName = Type.getType(type).className

0 commit comments

Comments
 (0)