Skip to content

Commit

Permalink
Merge pull request #281 from diptadas/patch-1
Browse files Browse the repository at this point in the history
Fix instruction printer double constant
  • Loading branch information
chibash committed Oct 14, 2019
2 parents 5a796e1 + f3dd7be commit 19a64dd
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 19a64dd

Please sign in to comment.