vieiro commented on a change in pull request #3433:
URL: https://github.com/apache/netbeans/pull/3433#discussion_r781551318



##########
File path: 
dlight/dlight.remote.ui/src/org/netbeans/modules/remote/api/ui/FileChooserUIImpl.java
##########
@@ -3509,29 +3504,6 @@ private void enableAllButCancel(boolean enable) {
 
     private void changeDirectory(File dir) {
         JFileChooser fc = getFileChooser();
-        // Traverse shortcuts on Windows
-        if (dir != null && FilePane.usesShellFolder(fc)) {

Review comment:
       Found it, I think. It seems JFileChooser was not very good at dealing 
with Windows shortcuts (.lnk) in the JVM 1.3.0/1.4.2/5.0 releases 
https://bugs.openjdk.java.net/browse/JDK-4356160
   
   Things have evolved since then and JFileChooser and Windows shortcuts work 
well together now (not always, though 
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8214924).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to