JDK-8187631 : Refactor FileDescriptor close implementation
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-09-18
  • Updated: 2018-06-11
  • Resolved: 2017-09-21
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.
JDK 10
10 b25Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The implementation for closing raw file descriptors held for files by FileDescriptor
is spread across FileInputStream, FileOutputStream, RandomAccessFile, and 
FileChannelImpl.

The implementations for sockets and datagrams are unchanged.
The refactoring enables future improvements in finalizers for FIS/FOS, etc.