6977587: GTK L&F: jnlp: java.io.IOException thrown when choosing more than 1 file in the dialog
Reviewed-by: alexp
--- a/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java Sat May 28 11:55:32 2011 +0400
+++ b/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java Sat Jun 04 01:13:04 2011 +0400
@@ -174,8 +174,11 @@
// construct the resulting string
for (int i=0; i<len; i++) {
+ if (i > 0) {
+ buf.append(" ");
+ }
if (len > 1) {
- buf.append(" \"");
+ buf.append("\"");
}
buf.append(result.get(i));
if (len > 1) {