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: | Change the GenericSources.Group, SourcesHelper.SourceRoot not to throw IAE when root is not valid. | ||
---|---|---|---|
Product: | projects | Reporter: | Tomas Zezula <tzezula> |
Component: | Generic Infrastructure | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews, chepanemo |
Priority: | P3 | Keywords: | API, API_REVIEW_FAST |
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 128032, 144391, 150015, 157361, 161904, 187030, 202414 | ||
Attachments: | Proposed patch |
Description
Tomas Zezula
2011-10-26 12:30:09 UTC
Created attachment 113022 [details]
Proposed patch
Please review. Seems good to me. Thanks for updating java.project. *** Bug 202596 has been marked as a duplicate of this bug. *** core-main #c45c8f210a9d Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/c45c8f210a9d User: Jesse Glick <jglick@netbeans.org> Log: #204271: just return false, rather than throwing IAE, from SourceGroup.contains for a file not inside root. Due to bugs in masterfs relating to invalid files, it is impractical for the caller to verify this precondition. |