--- old/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/LCMP.java 2017-08-08 16:05:46.747078278 -0700 +++ new/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/LCMP.java 2017-08-08 16:05:46.663074072 -0700 @@ -21,39 +21,41 @@ package com.sun.org.apache.bcel.internal.generic; - /** * LCMP - Compare longs: - *
Stack: ..., value1.word1, value1.word2, value2.word1, value2.word2 ->
- * ..., result <= -1, 0, 1> + *
Stack: ..., value1.word1, value1.word2, value2.word1, value2.word2 -> ..., result <= -1, 0, 1>
+ * * - * @author M. Dahm + * @version $Id: LCMP.java 1747278 2016-06-07 17:28:43Z britter $ */ -public class LCMP extends Instruction - implements TypedInstruction, StackProducer, StackConsumer -{ - public LCMP() { - super(com.sun.org.apache.bcel.internal.Constants.LCMP, (short)1); - } - - /** @return Type.LONG - */ - public Type getType(ConstantPoolGen cp) { - return Type.LONG; - } - - /** - * Call corresponding visitor method(s). The order is: - * Call visitor methods of implemented interfaces first, then - * call methods according to the class hierarchy in descending order, - * i.e., the most specific visitXXX() call comes last. - * - * @param v Visitor object - */ - public void accept(Visitor v) { - v.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitLCMP(this); - } +public class LCMP extends Instruction implements TypedInstruction, StackProducer, StackConsumer { + + public LCMP() { + super(com.sun.org.apache.bcel.internal.Const.LCMP, (short) 1); + } + + + /** @return Type.LONG + */ + @Override + public Type getType( final ConstantPoolGen cp ) { + return Type.LONG; + } + + + /** + * Call corresponding visitor method(s). The order is: + * Call visitor methods of implemented interfaces first, then + * call methods according to the class hierarchy in descending order, + * i.e., the most specific visitXXX() call comes last. + * + * @param v Visitor object + */ + @Override + public void accept( final Visitor v ) { + v.visitTypedInstruction(this); + v.visitStackProducer(this); + v.visitStackConsumer(this); + v.visitLCMP(this); + } }