diff options
author | Shigeru Chiba <chibash@users.noreply.github.com> | 2019-10-14 19:25:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-14 19:25:09 +0900 |
commit | 19a64dd7c2dfc03bbe9f6443341ebf9acd085a9f (patch) | |
tree | da07f4a808ffbbe1ef30ccd51dd26b5bafe1484d | |
parent | 5a796e1c2e99be041ce8ecae96ad04390b6ff1ca (diff) | |
parent | f3dd7be032e24260d91dec26d12c95de4663d629 (diff) | |
download | javassist-19a64dd7c2dfc03bbe9f6443341ebf9acd085a9f.tar.gz javassist-19a64dd7c2dfc03bbe9f6443341ebf9acd085a9f.zip |
Merge pull request #281 from diptadas/patch-1
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: |