-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 11
-
Component/s: hotspot
-
b15
-
generic
-
generic
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8204032 | 11.0.1 | Erik Gahlin | P3 | Resolved | Fixed | team |
TestRecordingFile.java is using the two argument version of Files.CreateTempFile(), for example at line 65:
Path valid = Files.createTempFile("three-event-recording", ".jfr");
This causes .jfr files to be left behind in /tmp. Over time, it starts to add up:
$ hostname
sca00lnu
$ uname -a
CYGWIN_NT-6.3-WOW sca00lnu 1.7.35(0.287/5/3) 2015-03-04 12:07 i686 Cygwin
$ ls /tmp/*.jfr | wc -l
228
Path valid = Files.createTempFile("three-event-recording", ".jfr");
This causes .jfr files to be left behind in /tmp. Over time, it starts to add up:
$ hostname
sca00lnu
$ uname -a
CYGWIN_NT-6.3-WOW sca00lnu 1.7.35(0.287/5/3) 2015-03-04 12:07 i686 Cygwin
$ ls /tmp/*.jfr | wc -l
228
- backported by
-
JDK-8204032 Better test cleanup for jdk/jfr/api/consumer/TestRecordingFile.java
-
- Resolved
-