Java Update to J2SE 6u2 and first problem with JFileChooser

Hello everybody,

I have installed new J2SE update from sun. Now the part of the application that uses JFileChooser takes about 10 seconds to instantiate JFileChooser,

something like this for the tests:

package test;

import javax.swing.JFileChooser;

publicclass FileChooser{

publicstaticvoid main(String[] args){

long time = System.currentTimeMillis();

JFileChooser fileChooser =new JFileChooser();

JFileChooser fileChooser1 =new JFileChooser();

JFileChooser fileChooser2 =new JFileChooser();

JFileChooser fileChooser3 =new JFileChooser();

JFileChooser fileChooser4 =new JFileChooser();

System.out.println("Time taken = "+(System.currentTimeMillis()-time));

}

}

The 6u1 took about 2 seconds.

My result today, with new update from sun:

Time taken = 45204

45 seconds, more than 8 seconds to instansiate one JFileChooser. It's time to laugh.

I went to the suns tutorial page, took this project:

FileChooserDemo *

Please notice, they took WebStart Launch version away. Earlier I could test it by launching from the web site.

This program took about 8 second for one JFileChooser on the dual core machine.

I have tested it under WinXP and Linux Ubuntu. Similar results.

Please test it. If it is really so, maybe I should post a bug.

Thanks in advance.

[1978 byte] By [flexeda] at [2007-11-27 9:56:11]
# 1
I have installed J2SE 6u1.Now, the execution of this class takes Time taken = 1172
flexeda at 2007-7-13 0:26:18 > top of Java-index,Java Essentials,Java Programming...
# 2
Sorry, bud. Took me just under 3 seconds on Solaris x86 w/ J2SE 6u2.(And this is an old machine...)
Navy_Codera at 2007-7-13 0:26:18 > top of Java-index,Java Essentials,Java Programming...
# 3
1660 with java 6u2, 3gHz Windows XP Pro
ChuckBinga at 2007-7-13 0:26:18 > top of Java-index,Java Essentials,Java Programming...
# 4
> 1660 with java 6u2, 3gHz Windows XP ProGood news. Thanks.Try to reinstall it again.
flexeda at 2007-7-13 0:26:18 > top of Java-index,Java Essentials,Java Programming...