[jboss-jira] [JBoss JIRA] Commented: (JASSIST-132) Replacing an expression with a try-catch statement
Shigeru Chiba (JIRA)
jira-events at lists.jboss.org
Fri Sep 10 12:35:49 EDT 2010
[ https://jira.jboss.org/browse/JASSIST-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12550164#action_12550164 ]
Shigeru Chiba commented on JASSIST-132:
---------------------------------------
Let me know if you have a question.
By the way, the reason that the replacement works well in the case of the first method call in your
example is that the first call is a expression statement. Replacing a statement with a try-catch
statement is possible.
> 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