United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6791458 FileInputStream/RandomAccessFile.read leaks memory if invoked on closed stream with len > 8k
JDK-6791458 : FileInputStream/RandomAccessFile.read leaks memory if invoked on closed stream with len > 8k

Details
Type:
Bug
Submit Date:
2009-01-08
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2009-01-17
Component:
core-libs
OS:
generic
Sub-Component:
java.io
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
As reported here:
 http://mail.openjdk.java.net/pipermail/core-libs-dev/2009-January/000978.html

if FileInputStream or RandomAccessFile.read is invoked with a byte[] and len > 8k on a closed stream then the method throws IOException without releasing the the memory allocated for the I/O.

                                    

Comments
EVALUATION

This bug has existed since at least 1.2.
                                     
2009-01-09



Hardware and Software, Engineered to Work Together