This commit is contained in:
Lana Steuck 2012-12-14 11:21:09 -08:00
commit abe9bf1b53

View File

@ -939,7 +939,7 @@ public class UnixPrintJob implements CancelablePrintJob {
* is not removed for some reason, request that it is * is not removed for some reason, request that it is
* removed when the VM exits. * removed when the VM exits.
*/ */
spoolFile = Files.createTempFile("javaprint", ".ps").toFile(); spoolFile = Files.createTempFile("javaprint", "").toFile();
spoolFile.deleteOnExit(); spoolFile.deleteOnExit();
} }
result = new FileOutputStream(spoolFile); result = new FileOutputStream(spoolFile);