changeset 6218:fd9e6b4c8488

Merge
author lana
date Fri, 14 Dec 2012 11:21:09 -0800
parents 7fd56a5abd94 e8b54ae97344
children 9fc7460ca3ac
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/print/UnixPrintJob.java	Thu Dec 13 09:05:35 2012 -0800
+++ b/src/solaris/classes/sun/print/UnixPrintJob.java	Fri Dec 14 11:21:09 2012 -0800
@@ -939,7 +939,7 @@
                      * is not removed for some reason, request that it is
                      * removed when the VM exits.
                      */
-                    spoolFile = Files.createTempFile("javaprint", ".ps").toFile();
+                    spoolFile = Files.createTempFile("javaprint", "").toFile();
                     spoolFile.deleteOnExit();
                 }
                 result = new FileOutputStream(spoolFile);