This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | AntBasedGenericType incorrectly rethrows IOException | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Ant Project | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 153655, 160262 |
Description
Jesse Glick
2009-03-13 16:17:07 UTC
Ok. I see. Probably should deconstruct any InvocationTargetException, which produces three cases: 1. IOException -> rethrow 2. RuntimeException -> rethrow (was already illegal, can't make it worse) 3. other -> raise as assertion error; should not happen assuming that ann proc preverifies that constructor or factory method lists at most IOException in throws clause core-main#e94ee0d684a0 Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e94ee0d684a0 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #160265: Correctly propagating IOException thrown from the reflection called code |