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.

Bug 196813 - BinaryFS$BFSFile.lastModified() tries to open a JAR file
Summary: BinaryFS$BFSFile.lastModified() tries to open a JAR file
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
: 189931 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-17 15:10 UTC by joel.milano
Modified: 2011-09-06 11:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177661


Attachments
nps snapshot (19.02 KB, application/nps)
2011-03-17 15:10 UTC, joel.milano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joel.milano 2011-03-17 15:10:20 UTC
This bug was originally marked as duplicate of bug 185912, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows XP

User Comments:
joel.milano: Running an application



Maximum slowness yet reported was 3625 ms, average is 3625
Comment 1 joel.milano 2011-03-17 15:10:24 UTC
Created attachment 107078 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2011-03-18 16:03:54 UTC
AWT blocked in org.netbeans.modules.form.FormDataNode.getActions() and waits for 
org.netbeans.core.startup.layers.BinaryFS$BFSFile.lastModified() which for some reason tries to open a JAR file.


Probably the lastModified() value could be cached when BinaryFS is being created.
Comment 3 Jaroslav Tulach 2011-08-28 20:49:17 UTC
ergonomics#fb5cb6bf53a6
Comment 4 Quality Engineering 2011-08-30 14:23:12 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/fb5cb6bf53a6
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #196813: BinaryFS.lastModified uses Stamps.lastModified() for all FileObjects
Comment 5 Jaroslav Tulach 2011-09-06 11:29:40 UTC
*** Bug 189931 has been marked as a duplicate of this bug. ***