FULL PRODUCT VERSION :
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows Vista Service Pack 2, Windows 7, Windows Server 2003
EXTRA RELEVANT SYSTEM CONFIGURATION :
Drives on Windows Server 2003 are set up with Distributed File System (DFS).
A DESCRIPTION OF THE PROBLEM :
We have a Netbeans 6.5 based Platform Application. We require our user to use Windows Vista 64-bit due to heavy memory usage. In a recent build we installed the software on a computer with Windows Vista Service Pack 2. When trying to open folders that are linked with DFS on a Windows Server 2003 box the software did not open the folders.
I was able to reproduce this bug with any JFileChooser code. Including the Sun JFileChooser Demo which I downloaded on the same computer and it did not work.
We verified that everything works fine with Windows Service Pack 1. We verified that it does not work with the latest Windows 7 releaese. We updated to the latest release of the Java SDK and JRE. 1.6.0_14 and the issues persist.
I notice that these DFS links now appear as shortcuts in VIsta SP2 where before they appeared as Folders in Vista SP1.
Note that regular shortcut keys seem to work fine.
Note that I can create a short cut key on my Desktop to the same folder and I am able to connect to the drives with no problem via the JFileChooser.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use the Demo application from http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html
When browsing around attempt to open a DFS linked folder/drive.
JFileChooser silently fails.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JFileChooser open the folder..
ACTUAL -
JFileChooser silently fails and does not open the folder.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Use the Demo application from http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I am requiring users to revert back to SP1 which they are not excited about. Otherwise I am having them create new short cut keys. I have not found a workaround in Java for this issue.