From: Dipta Das Date: Mon, 14 Oct 2019 04:21:11 +0000 (-0500) Subject: Fix instruction printer double constant X-Git-Tag: rel_3_27_0_ga~3^2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f3dd7be032e24260d91dec26d12c95de4663d629;p=javassist.git Fix instruction printer double constant --- diff --git a/src/main/javassist/bytecode/InstructionPrinter.java b/src/main/javassist/bytecode/InstructionPrinter.java index 93182baa..6d18a4d4 100644 --- a/src/main/javassist/bytecode/InstructionPrinter.java +++ b/src/main/javassist/bytecode/InstructionPrinter.java @@ -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: