matthiasblaesin
12 years agoNew Contributor
DirectoryChooser (Export Definition) is very slow on windows
Hello,
I use soap-ui to test webservices. Occasionally I need to export the WSDL+XSD and then I'm faced with a blocking directory chooser. I select "Export Definition" on the bindings note and after that it takes a very long time (> 2 Minutes) to open the directory chooser.
While the whole time is spend in javax.swing.filechooser.FileSystemView.getFiles(). It looks as if the dialog tries to enumerate all networked computers in our domain (the domain spans the whole country). I would be happy if I could get fast access to my local machine, because that is where I need the artifacts.
Is there a way to work around this?
Attached you find a Profiler Snapshot (taken with jvisualvm while the dialog is opening). The AWT Thread is blocked by the call to javax.swing.plaf.basic.BasicFileChooserUI$BasicFileView.getCachedIcon().
Thanks
Matthias
I use soap-ui to test webservices. Occasionally I need to export the WSDL+XSD and then I'm faced with a blocking directory chooser. I select "Export Definition" on the bindings note and after that it takes a very long time (> 2 Minutes) to open the directory chooser.
While the whole time is spend in javax.swing.filechooser.FileSystemView.getFiles(). It looks as if the dialog tries to enumerate all networked computers in our domain (the domain spans the whole country). I would be happy if I could get fast access to my local machine, because that is where I need the artifacts.
Is there a way to work around this?
Attached you find a Profiler Snapshot (taken with jvisualvm while the dialog is opening). The AWT Thread is blocked by the call to javax.swing.plaf.basic.BasicFileChooserUI$BasicFileView.getCachedIcon().
Thanks
Matthias