]> source.dussan.org Git - javassist.git/commitdiff
Fix instruction printer double constant 281/head
authorDipta Das <dipta670@gmail.com>
Mon, 14 Oct 2019 04:21:11 +0000 (23:21 -0500)
committerGitHub <noreply@github.com>
Mon, 14 Oct 2019 04:21:11 +0000 (23:21 -0500)
src/main/javassist/bytecode/InstructionPrinter.java

index 93182baaea3fcab8bdb1816001b99d48d82da1eb..6d18a4d44723361ce35fc06b7cb4f2457cc253ea 100644 (file)
@@ -285,7 +285,7 @@ public class InstructionPrinter implements Opcode {
             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: