[jboss-jira] [JBoss JIRA] (JASSIST-227) javassist.bytecode.InstructionPrinterm, case IINC: return opstring + " " + iter.byteAt(pos + 1);
Cao Tang (JIRA)
issues at jboss.org
Wed Jul 16 22:58:29 EDT 2014
[ https://issues.jboss.org/browse/JASSIST-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985804#comment-12985804 ]
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].
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list