-
Enhancement
-
Resolution: Won't Fix
-
P3
-
None
-
1.1.4, 1.4.2
-
x86
-
windows_95, windows_98
Name: diC59631 Date: 09/25/97
I know one isn't supposed to rely on files being
closed by themselves.
But, RandomAccessFile should have a finalize()
method which closes the file descriptor, the same
way that FileOutputStream and friends do.
======================================================================
- duplicates
-
JDK-4919795 RandomAccessFile doesn't close when it gets garbage collected
-
- Closed
-
- relates to
-
JDK-4099999 File{Input,Output}Stream finalizer should not close FileDescriptor
-
- Closed
-
-
JDK-4777499 (ch) Remove finalize methods from all channel classes
-
- Resolved
-
-
JDK-4192722 java.io.{FileWriter,OutputStreamWriter} should override finalize to call close
-
- Closed
-