|
Quick Lists
|
|
Bug ID:
|
6541641
|
|
Votes
|
0
|
|
Synopsis
|
(fc) java/nio/channels/FileChannel/ExpandingMap.java should clean up after itself
|
|
Category
|
java:classes_nio
|
|
Reported Against
|
|
|
Release Fixed
|
7(b32)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4171239
|
|
Submit Date
|
02-APR-2007
|
|
Description
|
ExpandingMap.java creates test files using File.createTempFile("exp", "tmp");.
It calls deleteOnExit() on them, however the files are still open and this
has no effect on Windows. (see product bugs 4171239, 4205562)
$ pwd
/c/TEMP
$ ls -l exp*tmp
-rwxrwxrwx 1 otto None 314874799 Apr 1 06:12 exp39413tmp
-rwxrwxrwx 1 otto None 314874799 Apr 2 05:16 exp63711tmp
Posted Date : 2007-04-02 17:48:03.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
The file channel needs to be closed, and the ref to the mapped buffers needs to be cleanup as well so the mapped buffered can get GCed and upmapped.
Posted Date : 2008-06-27 20:48:24.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |