[
http://jira.jboss.com/jira/browse/JASSIST-59?page=all ]
Carlos Pita closed JASSIST-59.
------------------------------
Resolution: Rejected
Sorry, I mistaken the bug I'm experiencing with another possible one commented at
tapestry's list. I'll try to determine the real reason behind the bug, and if it
happens to be javassist related will open a new issue.
ArrayIndexOutOfBoundsException when replacing field access in
conditional expression
------------------------------------------------------------------------------------
Key: JASSIST-59
URL:
http://jira.jboss.com/jira/browse/JASSIST-59
Project: Javassist
Issue Type: Bug
Reporter: Carlos Pita
Assigned To: Shigeru Chiba
Priority: Critical
When there is a field accessed in method in transformed class, and
be used in one side of condition statement such as
if (_encoder == null) // this line may cause error
{
_formSupport.store(this, new RestoreState(_value));
}
else
...
later on, a Javassist FieldAccess for this field replace the method
body by "$_ = $0._$read_parameter_anchor();", (happens on line 1546 in
InternalClassTransformationImpl.class), then I got
ArrayIndexOutOfBoundsException on methods either write16bit() or
sameLocals().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira