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: | Easier interaction between Lookup and System Filesystem | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Lookup | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | apireviews, jglick |
Priority: | P1 | Keywords: | API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | The changes in openide.util and openide.filesystems |
Description
Jaroslav Tulach
2009-06-09 12:55:18 UTC
Created attachment 83352 [details]
The changes in openide.util and openide.filesystems
[JG01] Typo: "propert" [JG02] Suggest named constant in Lookup.java rather than a magical system property name defined in arch.xml where no one will be looking for it. Or better yet, public static void includeConfigPaths(String... paths) throws IllegalStateException; which would be easier to use and have the benefit of throwing an exception if you accidentally called it after Lookup.getDefault() (or this same method) had already been called. Re. JG02: We can add such field or method anytime later if found necessary. Right now, when vast majority of the Lookup users need just Lookup.getDefault() and does not care about here in proposed functionality (as it works from them in NetBeans by default), it is not wise to distract them. Re. JG01: Thanks, I'll fix it. I will address JG01 and integrate tomorrow. core-main#818470e34c19 Integrated into 'main-golden', will be available in build *200906200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/818470e34c19 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #166782: org.openide.util.Lookup.paths property *** Bug 194703 has been marked as a duplicate of this bug. *** |