JDK-4666397 : FileSystemPreferences lockFile0() should close file descriptor on failure
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,solaris
  • CPU: generic,x86
  • Submitted: 2002-04-11
  • Updated: 2002-05-10
  • Resolved: 2002-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.1 hopperFixed
Related Reports
Duplicate :  
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
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper FIXED IN: hopper INTEGRATED IN: hopper VERIFIED IN: hopper
14-06-2004

EVALUATION We need to add close() ###@###.### 2002-04-10 We have added close() to error exit. Note for SQE team: No test case necessary.
10-04-2002