-
Bug
-
Resolution: Fixed
-
P3
-
6u33, 7u6
-
Windows 7, JDK 1.6 or 1.7
-
b68
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8098722 | emb-9 | Semyon Sadetsky | P3 | Resolved | Fixed | team |
JDK-8303974 | 8u381 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8305436 | 8u371 | Anton Litvinov | P3 | Resolved | Fixed | b31 |
JDK-8304661 | 8u361 | Ryan Wallace | P3 | Closed | Fixed | b35 |
- Open plain JFileChooser e.g. like this:
JFileChooser fc = new JFileChooser();
if( JFileChooser.APPROVE_OPTION == fc.showSaveDialog( this ) ) {
File selFile = fc.getSelectedFile();
System.err.println( selFile.getAbsolutePath() );
}
- select 'Libraries' in file chooser's combo box
- then double-click 'Pictures'
- type any new file name, e.g. 'aaaaa.txt'
The selected path provided by the file chooser will be something like:
D:\temp\JavaApplication19\::{031E4825-7B94-4DC3-B131-E946B44C8DD5}\Pictures.library-ms\aaaaa.txt
See also this NetBeans issue: http://netbeans.org/bugzilla/show_bug.cgi?id=219837
- backported by
-
JDK-8098722 JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
- Resolved
-
JDK-8303974 JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
- Resolved
-
JDK-8305436 JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
- Resolved
-
JDK-8304661 JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
- Closed
- relates to
-
JDK-8081231 JDK9 client build broken on Windows
- Resolved
-
JDK-8189604 possible hang in sun.awt.shell.Win32ShellFolder2$KnownFolderDefinition::<clinit>
- Resolved