]
Cao Tang edited comment on JASSIST-227 at 7/16/14 10:58 PM:
------------------------------------------------------------
fixed @github Commit: d267e47632ba9e3ab9ae9897051665d6cb58a084 [d267e47]
was (Author: caot):
fixed ar Commit: d267e47632ba9e3ab9ae9897051665d6cb58a084 [d267e47]
javassist.bytecode.InstructionPrinterm, case IINC: return opstring +
" " + iter.byteAt(pos + 1);
------------------------------------------------------------------------------------------------
Key: JASSIST-227
URL:
https://issues.jboss.org/browse/JASSIST-227
Project: Javassist
Issue Type: Bug
Affects Versions: 3.18.1-GA
Environment: windows 7, redhat 6
Reporter: Cao Tang
Assignee: Shigeru Chiba
Priority: Critical
Original Estimate: 1 hour
Remaining Estimate: 1 hour
javassist.bytecode.InstructionPrinterm.java
case IINC:
return opstring + " " + iter.byteAt(pos + 1);
it didn't include a INCREMENT/DECREMENT. the correct is:
return opstring + " " + iter.byteAt(pos + 1) + ", "
+ iter.bytecode[pos + 1] ;
bytecode is protected, so a method is needed to return the value if iter.bytecode[pos +
1].