-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b143
-
x86
-
windows_2012
This test creates files in /cygdrive/c/temp with names like javac1052993135763659962.tmp,
javac1053620319729702391.tmp
and so on...
It is the only place in the test code for jdk or langtools where I find the pattern 'javac.*\.tmp':
cat -n jdk/test/tools/pack200/Utils.java
[...]
97 File tmpFile = File.createTempFile("javac", ".tmp");
There is a cleanup() method implemented at lines 192 ... 214 but it does not mention the .tmp extension.
Or, consider adding tmpFile.deleteOnExit() after line 97
javac1053620319729702391.tmp
and so on...
It is the only place in the test code for jdk or langtools where I find the pattern 'javac.*\.tmp':
cat -n jdk/test/tools/pack200/Utils.java
[...]
97 File tmpFile = File.createTempFile("javac", ".tmp");
There is a cleanup() method implemented at lines 192 ... 214 but it does not mention the .tmp extension.
Or, consider adding tmpFile.deleteOnExit() after line 97