Summary: | dangerous practice of catching Throwable | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jim des Rivieres <jeem> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M9 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Jim des Rivieres
2004-05-12 13:56:36 EDT
The batch compiler is an independant tool which going to trap this exception and report it as an internal error. It isn't used inside Eclipse per se. Though we could probably only catch RuntimeException which are the ones we do mean to catch anyway here. Need to look closer at Dumper. Just checked that Dumper (and IDumpable) are not used in jdt.core. We should just delete those. Removed Dumper & IDumpable. Replacing catch Throwable in compiler with: catch RuntimeException. VM traps are now surfaced. Fixed Verified in 200405180816 |