Community
Participate
Working Groups
Build Identifier: M20100211-1343 When I modify a methodinvocation inside a method then wrap the code of the method in a try/catch block it causes a StringIndexOutOfBoundsException. Reproducible: Always Steps to Reproduce: 1. See attached test case 2. 3.
Created attachment 160919 [details] stack trace of the exception
Created attachment 160920 [details] test case for causing the bug
Created attachment 160956 [details] Proposed fix + regression test
Released for 3.6M6. Regression tests added to: org.eclipse.jdt.core.tests.rewrite.modifying.ASTRewritingModifyingCopyTest#test0008
Verified for 3.6M6 using I20100307-2000 build.