--- old/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/LDC_W.java 2017-08-08 16:05:48.211151580 -0700 +++ new/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/LDC_W.java 2017-08-08 16:05:48.127147375 -0700 @@ -22,6 +22,7 @@ package com.sun.org.apache.bcel.internal.generic; import java.io.IOException; + import com.sun.org.apache.bcel.internal.util.ByteSequence; /** @@ -29,27 +30,31 @@ * *
Stack: ... -> ..., item.word1, item.word2
* - * @author M. Dahm + * @version $Id: LDC_W.java 1747278 2016-06-07 17:28:43Z britter $ */ public class LDC_W extends LDC { - /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. - */ - LDC_W() {} - - public LDC_W(int index) { - super(index); - } - - /** - * Read needed data (i.e., index) from file. - */ - protected void initFromFile(ByteSequence bytes, boolean wide) - throws IOException - { - setIndex(bytes.readUnsignedShort()); - // Override just in case it has been changed - opcode = com.sun.org.apache.bcel.internal.Constants.LDC_W; - } + + /** + * Empty constructor needed for the Class.newInstance() statement in + * Instruction.readInstruction(). Not to be used otherwise. + */ + LDC_W() { + } + + + public LDC_W(final int index) { + super(index); + } + + + /** + * Read needed data (i.e., index) from file. + */ + @Override + protected void initFromFile( final ByteSequence bytes, final boolean wide ) throws IOException { + setIndex(bytes.readUnsignedShort()); + // Override just in case it has been changed + super.setOpcode(com.sun.org.apache.bcel.internal.Const.LDC_W); + super.setLength(3); + } }