summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShigeru Chiba <chibash@users.noreply.github.com>2019-10-14 19:25:09 +0900
committerGitHub <noreply@github.com>2019-10-14 19:25:09 +0900
commit19a64dd7c2dfc03bbe9f6443341ebf9acd085a9f (patch)
treeda07f4a808ffbbe1ef30ccd51dd26b5bafe1484d
parent5a796e1c2e99be041ce8ecae96ad04390b6ff1ca (diff)
parentf3dd7be032e24260d91dec26d12c95de4663d629 (diff)
downloadjavassist-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.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: