support Boolean constants in constant pool

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@176 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent ca1416168d
commit 196f093c30
  1. 2
      jode/jode/bytecode/ConstantPool.java

@ -138,6 +138,8 @@ public class ConstantPool {
? Type.tInt
: (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE)
? Type.tRange(Type.tInt, Type.tChar)
: (value == 0 || value == 1)
? Type.tBoolByte
: Type.tUInt);
}
case FLOAT : return Type.tFloat ;

Loading…
Cancel
Save