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.
dev build 200305300100 If I type "d:\home\scp\lib\*" in the file-open dialog, I get a PatternParseException because we forget to escape \ into \\ before passing it onto the RegEx engine. I think the problem is the "*" because you only seem to fail to escape the slashes when I use a "*" in my path.
reassigned to utilities/openfile component
First, you probably meant "Backward slashes should be escaped in File Open dialog," didn't you? Parsing of filename patterns is implemented in JDK's class javax.swing.plaf.basic.BasicFileChooserUI.GlobFilter (you can see its source code - it is bundled with JDK in file "src.zip"). I looked at the class' source code in JDK 1.4.1_02 and JDK 1.4.2 beta. While JDK 1.4.1 does not escape backward slashes, JDK 1.4.2 does. I suggest you try to run NetBeans with JDK 1.4.2 (beta) and post the result to this bug report.
Gili, now that final version of JDK 1.4.2 is available, could you please check whether the File Open dialog works as expected?
Marian, JDK 1.4.2 works as expected under Win2k but I can't yet verify under OS/2 because our JDK port will only be ready later on this month. If, however, this issue is not OS/2 specific (someone else has seen it under Windows before), feel free to close it as FIXED. Thanks, Gili
Gili, nobody else have either reported the same issue or added a comment to this one. Since JDK 1.4.2 for OS/2 should be released soon (according to your last comment), I will wait for your report.
Ok, this issue is fixed in JDK 1.4.1_03. Closing.
v/c