diff --git a/src/solaris/classes/sun/print/UnixPrintJob.java b/src/solaris/classes/sun/print/UnixPrintJob.java index 620cf1cdd4419f2f605e7f1e0565d40c470cda14..8c797ceb62db6bdfcb82b6ab4a721b88545d3966 100644 --- a/src/solaris/classes/sun/print/UnixPrintJob.java +++ b/src/solaris/classes/sun/print/UnixPrintJob.java @@ -939,7 +939,7 @@ public class UnixPrintJob implements CancelablePrintJob { * 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);