Summary: | Weird exception handlers ranges with any exception handlers | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||||
Severity: | normal | ||||||||||||
Priority: | P3 | ||||||||||||
Version: | 3.0 | ||||||||||||
Target Milestone: | 3.1 M2 | ||||||||||||
Hardware: | PC | ||||||||||||
OS: | Windows XP | ||||||||||||
Whiteboard: | |||||||||||||
Attachments: |
|
Description
Olivier Thomann
2004-08-12 18:02:47 EDT
Created attachment 13931 [details]
Source code to compile
Created attachment 13932 [details]
Apply on HEAD of jdt.core project
Created attachment 13933 [details]
Apply on HEAD of jdt.core tests project
Created attachment 13934 [details]
Apply on HEAD of jdt.core compiler tests project
With the patch we would have: [pc: 4, pc: 17] -> 17 when : any [pc: 0, pc: 23] -> 23 when : any [pc: 42, pc: 45] -> 23 when : any This looks much better. I will release the changes to fix this. I need these changes to updates the tests for bug 70997. Philippe, please review the changes. Fixed and released in HEAD. Regression tests added. Reverted the changes for the synchronized statement. jck tests were affected by this change. Reopen to close as invalid since the synchronized statement needs to be untouched. The changes remain valid for the try/finally. The test case is invalid since it contains a synchronized statement. Verified in I200409212000. |