JDK-6593680 : Minimize number of file access operation by JFileChooser
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: windows
  • CPU: generic
  • Submitted: 2007-08-16
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
This is split off from 5050516.

There are 2 problems left:
  1) JFileChooser scans directories before it is actually shown.
     This might impact startup for some applications and may be unneeded work 
     if directory will be changed before displaying filechooser window.

  2) Monitoring files opened using filemon utility it seems that some extra work is performed.
     In particular:
        - files from different directories are accessed
        - there are multiple requests for desktop.ini file in several different directories
        - requests for some dlls are triggered (possible that these are apps associated with 
           files from directory). Here is example:

1286	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Common Files\Ahead\Lib\NeroDigitalExt.dll	SUCCESS	Attributes: A	
1290	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Common Files\Ahead\Lib\NeroDigitalExt.dll	SUCCESS	Length: 1802240	
1295	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Common Files\Ahead\Lib\NeroDigitalExt.dll	SUCCESS	Attributes: A	
1296	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Common Files\Ahead\Lib\NeroDigitalExt.dll	SUCCESS	Length: 1802240	
1301	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Adobe\Acrobat 7.0\ActiveX\PDFShell.dll	SUCCESS	Attributes: A	
1305	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Adobe\Acrobat 7.0\ActiveX\PDFShell.dll	SUCCESS	Length: 110592	
1310	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Adobe\Acrobat 7.0\ActiveX\PDFShell.dll	SUCCESS	Attributes: A	
1311	4:07:59 PM	java.exe:1300	QUERY INFORMATION	C:\Program Files\Adobe\Acrobat 7.0\ActiveX\PDFShell.dll	SUCCESS	Length: 110592

Disk access is very expensive. We should try to avoid (triggering) extra disk operations.

Comments
- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

Converted "8-client-defer-candidate" label to "8-defer-request" by SQE' OK.
15-08-2013

*This is anti-deferral criteria list*: - P2 -------------- Engineering's Criteria ------------------------------------- - tck-red labeled - conformance labeled - P3 regressions reported/labeled against jdk8 - findbugs, parfait, eht labeled bugs - CAP <1 year reported - netbeans <1 year reported Victor ----------------- SQE's OK --------------------------------- Yes, we are ok with that thanks, Mikhail
15-08-2013

8-defer-request: This is the issue from 7 GA when it was approved to defer that time. Requesting to defer again because there are no customer escalations on this issue.
14-06-2013