diff --git a/jode/ChangeLog b/jode/ChangeLog index 43fd2e2..0193368 100644 --- a/jode/ChangeLog +++ b/jode/ChangeLog @@ -1,3 +1,9 @@ +2002-02-25 Jochen Hoenicke + + * jode/bytecode/ClassInfo.java.in (read): Don't check for a + maximum version anymore. Sun changes it with every release without + changing the bytecode format. + 2002-02-08 Jochen Hoenicke * jode/obfuscator/ClassIdentifier.java.in (transformInnerClasses): diff --git a/jode/jode/bytecode/ClassInfo.java.in b/jode/jode/bytecode/ClassInfo.java.in index 687bf94..8494611 100644 --- a/jode/jode/bytecode/ClassInfo.java.in +++ b/jode/jode/bytecode/ClassInfo.java.in @@ -287,8 +287,7 @@ public class ClassInfo extends BinaryInfo { throw new ClassFormatException("Wrong magic"); int version = input.readUnsignedShort(); version |= input.readUnsignedShort() << 16; - if (version < (45 << 16 | 0) - || version > (47 << 16 | 0)) + if (version < (45 << 16 | 0)) throw new ClassFormatException("Wrong class version"); /* constant pool */