Submitted On 14-MAR-2006
anonymousfu
I experienced this bug where the JFileChooser took an exceedingly long time just to be constructed (~5min). Disabling the XP zip support fixed this. I profiled it to find that 98% of the time was spent in sun.awt.shell.Win32ShellFolder2.hasAttribute(int) on only 28 invocations.
Submitted On 15-MAR-2006
leifs
What version of java did you try? Mustang beta uses fewer calls to hasAttribute. Does it seem to make a difference?
Submitted On 13-AUG-2006
I was hitting this bug too, and mistook it for 6372808. I was having the problem will all versions of java, including Mustang.
Submitted On 21-AUG-2006
stolsvik
This bug is probably the same as, or at least related to, bug #6372808 - check that out. Also bug #5033747 might be related.
Submitted On 23-DEC-2006
In the comments to bug #4480327 there was a hint to JFileChooser taking long to instantiate when having a shortcut to an offline network-share on the desktop. I obviously had the same problem - it took minutes before, now, after having deleted the shortcut, everything is fine and smooth. Might be a bug rather in Windows when in Java, but it only showed up in Java so far (although it took an accordingly long time to access the shortcut when deleting it, but in the opposite to Java I expect such behaviour by Windows *g*). If I can help by providing details, please contact me ...
Submitted On 30-JUL-2007
-Deb
I am using Windows XP, and just updated to SE 6.0.2. The JFileChooser is opening to the {local drive} and is now taking, a minimum of 10 seconds to instantiate and display.
Submitted On 14-DEC-2007
Fixed in 1.7, but will it also be fixed in 1.6.0_04?
Submitted On 06-FEB-2008
MJavaS
This is still broken in 1.6.0_04. My application takes over 10 seconds to initialize a JFileChooser(). It's instantaenous in 1.6.0_01, which is the last 1.6 version that did not have this bug in it. It's broken in _02 and _03 and _04.
Submitted On 07-FEB-2008
rogerl
This bug is fixed in 6u10 (or JDK 6 update 10), it has not been fixed in 6u4.
Release Fixed: 7(b22), 6u10(b07)
You can find 6u10, as an early access release on this site:
https://jdk6.dev.java.net/6uNea.html
-Roger
Sun Microsystems
Submitted On 17-APR-2008
oawad79
this bug is not fixed in jdk1.6 u10 , i had to disable windows zip support to fix it
Submitted On 06-JUL-2008
farcat
(1.6.0_06): same problem here, I dont think it has anything to do with the contructor, just navigating in JFileChooser to a directory with large zip files hangs/slows down the chooser for a long time (minutes).
Any fix that alters the native environment is not usable for me since this is software distributed to customers.
Submitted On 06-JUL-2008
farcat
does anyone know whether this bug also appears when the compressed folders dont have the extension .zip /.rar
Submitted On 19-JUL-2008
farcat
i see this bug already existed in 2004. please fix; this is a show stopper for me. are there any workarounds? I cannot disable zip on customer computers.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|