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.

