United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4666397 : FileSystemPreferences lockFile0() should close file descriptor on failure

Details
Type:
Bug
Submit Date:
2002-04-11
Status:
Closed
Updated Date:
2002-05-10
Project Name:
JDK
Resolved Date:
2002-04-25
Component:
core-libs
OS:
solaris,linux
Sub-Component:
java.util
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
1.4.1 (hopper)

Related Reports
Duplicate:

Sub Tasks

Description
FileSystemPreferences lockFile0 does not close the file descriptor
on lock failure. As a result, on each locking failure 
a file descriptor is leaked, which can result in an
exhaustion of resources.

                                    

Comments
EVALUATION

We need to add close()


###@###.### 2002-04-10

We have added close() to error exit. Note for 
SQE team: No test case necessary.
                                     
2002-04-10
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
hopper

FIXED IN:
hopper

INTEGRATED IN:
hopper

VERIFIED IN:
hopper


                                     
2004-06-14



Hardware and Software, Engineered to Work Together