summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDipta Das <dipta670@gmail.com>2019-10-13 23:21:11 -0500
committerGitHub <noreply@github.com>2019-10-13 23:21:11 -0500
commitf3dd7be032e24260d91dec26d12c95de4663d629 (patch)
treeda07f4a808ffbbe1ef30ccd51dd26b5bafe1484d
parent5a796e1c2e99be041ce8ecae96ad04390b6ff1ca (diff)
downloadjavassist-f3dd7be032e24260d91dec26d12c95de4663d629.tar.gz
javassist-f3dd7be032e24260d91dec26d12c95de4663d629.zip
Fix instruction printer double constant
-rw-r--r--src/main/javassist/bytecode/InstructionPrinter.java2
1 files changed, 1 insertions, 1 deletions
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: