--- openjdk/jdk/src/share/classes/sun/awt/datatransfer/DataTransferer.java.orig	2009-04-06 16:17:44.000000000 -0400
+++ openjdk/jdk/src/share/classes/sun/awt/datatransfer/DataTransferer.java	2009-04-06 16:33:42.000000000 -0400
@@ -1327,12 +1327,11 @@
                 throw new IOException(pae.getMessage());
             }
 
-            for (String fileName: fileList) {
-                byte[] bytes = fileName.getBytes();
-                bos.write(bytes, 0, bytes.length);
-                bos.write(0);
+            for (int i = 0; i < fileList.size(); i++) {
+                 byte[] bytes = fileList.get(i).getBytes();
+                 if (i != 0) bos.write(0);
+                 bos.write(bytes, 0, bytes.length);
             }
-            bos.write(0);
 
         // Source data is an InputStream. For arbitrary flavors, just grab the
         // bytes and dump them into a byte array. For text flavors, decode back
