This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Double-clicking .. in the file chooser dialog results in "IllegalArgumentException: Parameter file was not normalized." thrown out of org.openide.filesystems.FileUtil.fromFile(). See the attachment for details.
Created attachment 14589 [details] IAE
This happens when you run the IDE with GTK L&F (-J-DuseGtk=true).
I've seen this before, but assumed it was just a bug waiting to be fixed in stavbicka. Jesse, can you confirm this is not normal file chooser behavior? If so, this should probably be a P1 bug for the JDK team, or we should normalize it ourselves. Jesse, opinion?
I presume it's a bug in the project chooser accessory. It's probably a feature that the file chooser does not canonicalize filenames - usually better for symlink users.
Okay. If we should file a JDK bug on this we need to do that very soon. Let me know.
To the contrary, the GTK behavior is probably fine for us; it is BT #4906607 (that other Unix file choosers *do* canonicalize symlinks) that we need to worry about.
I'll take this, I think I have a patch for it.
committed * Up-To-Date 1.6 projects/projectui/src/org/netbeans/modules/project/ui/ProjectChooserAccessory.java committed * Up-To-Date 1.3 projects/projectui/src/org/netbeans/modules/project/ui/actions/OpenProject.java
Verified in build 200405101820.