--- old/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/BCELifier.java 2020-01-16 18:04:52.721516694 +0000 +++ new/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/BCELifier.java 2020-01-16 18:04:52.227504559 +0000 @@ -46,7 +46,6 @@ * are done with BCEL. It does not cover all features of BCEL, * but tries to mimic hand-written code as close as possible. * - * @version $Id$ */ public class BCELifier extends com.sun.org.apache.bcel.internal.classfile.EmptyVisitor { @@ -113,6 +112,8 @@ + "\", \"" + super_name + "\", " + "\"" + clazz.getSourceFileName() + "\", " + printFlags(clazz.getAccessFlags(), FLAGS.CLASS) + ", " + "new String[] { " + inter + " });"); + _out.println(" _cg.setMajor(" + clazz.getMajor() +");"); + _out.println(" _cg.setMinor(" + clazz.getMinor() +");"); _out.println(); _out.println(" _cp = _cg.getConstantPool();"); _out.println(" _factory = new InstructionFactory(_cg, _cp);"); @@ -216,7 +217,7 @@ return "0"; } final StringBuilder buf = new StringBuilder(); - for (int i = 0, pow = 1; pow <= Const.MAX_ACC_FLAG; i++) { + for (int i = 0, pow = 1; pow <= Const.MAX_ACC_FLAG_I; i++) { if ((flags & pow) != 0) { if ((pow == Const.ACC_SYNCHRONIZED) && (location == FLAGS.CLASS)) { buf.append(CONSTANT_PREFIX+"ACC_SUPER | ");