Skip to content

Commit

Permalink
Fix instruction printer double constant
Browse files Browse the repository at this point in the history
  • Loading branch information
diptadas committed Oct 14, 2019
1 parent 5a796e1 commit f3dd7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/javassist/bytecode/InstructionPrinter.java
Expand Up @@ -285,7 +285,7 @@ private static String ldc(ConstPool pool, int index) {
case ConstPool.CONST_Long:
return "#" + index + " = long " + pool.getLongInfo(index);
case ConstPool.CONST_Double:
return "#" + index + " = int " + pool.getDoubleInfo(index);
return "#" + index + " = double " + pool.getDoubleInfo(index);
case ConstPool.CONST_Class:
return classInfo(pool, index);
default:
Expand Down

0 comments on commit f3dd7be

Please sign in to comment.