[jboss-jira] [JBoss JIRA] (JASSIST-227) javassist.bytecode.InstructionPrinterm, case IINC: return opstring + " " + iter.byteAt(pos + 1);
Shigeru Chiba (JIRA)
issues at jboss.org
Wed Jul 23 06:17:29 EDT 2014
[ https://issues.jboss.org/browse/JASSIST-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shigeru Chiba resolved JASSIST-227.
-----------------------------------
Fix Version/s: 3.19.0-GA
Resolution: Done
The fix was merged.
> 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
> Fix For: 3.19.0-GA
>
> 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