mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 09:40:10 +00:00
8004316: Printer - tempfile having incorrect extension
Reviewed-by: bae, jgodinez
This commit is contained in:
parent
0c7b2461a2
commit
2c1f08ea9e
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user