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: | Do not open [Zip|Jar] files when the root FileObject is needed | ||
---|---|---|---|
Product: | platform | Reporter: | Tomas Zezula <tzezula> |
Component: | Filesystems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews, issues, jglick, jtulach, sreimers |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 177274 | ||
Attachments: | New constructor for JarFileSystem |
Description
Tomas Zezula
2009-11-23 10:45:04 UTC
The ArchiveURLMapper shall return the FileObject without opening the JAR. This can be done by improvements in JarFileSystem, possibly with some new API, or by creating a virtual FileObject that will later create and delegate to JarFileSystem.getRoot(). Let's do this. Created attachment 93416 [details]
New constructor for JarFileSystem
Review this addition of new JarFileSystem constructor and its use in ArchiveURLMapper. Good idea. Let's do it tomorrow. core-main#efc25ad43ed5 Integrated into 'main-golden', will be available in build *201001271614* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/efc25ad43ed5 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #177461: Now it is possible to create a JAR file and get its root URL without opening it. Shall speed up go to type dialog responses. New fix in core-main#5695b06e572c Integrated into 'main-golden', will be available in build *201005040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log: |