diff options
author | Dipta Das <dipta670@gmail.com> | 2019-10-13 23:21:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 23:21:11 -0500 |
commit | f3dd7be032e24260d91dec26d12c95de4663d629 (patch) | |
tree | da07f4a808ffbbe1ef30ccd51dd26b5bafe1484d | |
parent | 5a796e1c2e99be041ce8ecae96ad04390b6ff1ca (diff) | |
download | javassist-f3dd7be032e24260d91dec26d12c95de4663d629.tar.gz javassist-f3dd7be032e24260d91dec26d12c95de4663d629.zip |
Fix instruction printer double constant
-rw-r--r-- | src/main/javassist/bytecode/InstructionPrinter.java | 2 |
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: |