[jboss-jira] [JBoss JIRA] Resolved: (JASSIST-132) Replacing an expression with a try-catch statement

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Thu Sep 9 13:33:49 EDT 2010


     [ https://jira.jboss.org/browse/JASSIST-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shigeru Chiba resolved JASSIST-132.
-----------------------------------

    Fix Version/s: 3.14.0.GA
       Resolution: Rejected


Javassist cannot replace an method-call expression with a try-catch statemet.
I modified so that BadBytecode is thrown instead of ArrayIndexOutOfBounds if you do that replacement.
The tutorial was also updated.

> Replacing an expression with a try-catch statement
> --------------------------------------------------
>
>                 Key: JASSIST-132
>                 URL: https://jira.jboss.org/browse/JASSIST-132
>             Project: Javassist
>          Issue Type: Bug
>    Affects Versions: 3.13.0.GA
>         Environment: JDK 1.6.0_18
>            Reporter: Thomas Mauch
>            Assignee: Shigeru Chiba
>             Fix For: 3.14.0.GA
>
>         Attachments: bug.zip
>
>
> Instrumenting fails with ArrayIndexOutOfBoundsException.
> I will upload a test case showing the issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list