Skip to content

Commit 1ea7a85

Browse files
committed
Minor QoL changes, fix build.
1 parent a77ef06 commit 1ea7a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/club/bytecode/the/jda/decompilers/bytecode/InstructionPrinter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ protected String printMultiANewArrayInsnNode(MultiANewArrayInsnNode manain) {
332332
}
333333

334334
protected String nameOpcode(int opcode) {
335-
return " " + OpcodeInfo.OPCODES.get(opcode).toLowerCase();
335+
return " " + OpcodeInfo.OPCODES.getOrDefault(opcode, String.format("unknown#%02x", opcode)).toLowerCase();
336336
}
337337

338338
protected int resolveLabel(LabelNode label) {

0 commit comments

Comments
 (0)