From f3dd7be032e24260d91dec26d12c95de4663d629 Mon Sep 17 00:00:00 2001 From: Dipta Das Date: Sun, 13 Oct 2019 23:21:11 -0500 Subject: [PATCH] Fix instruction printer double constant --- src/main/javassist/bytecode/InstructionPrinter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ 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: