JDK-8207340 : (fs) UnixNativeDispatcher close and readdir usages should be fixed
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 11,12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-07-16
  • Updated: 2022-01-05
  • Resolved: 2018-07-17
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 11 JDK 12
11.0.4Fixed 12 b03Fixed
Related Reports
Relates :  
Description
JDK-8206145 fixed the JDWP agent to not restart close when interrupted. JDK-8202353 is fixing the code in HotSpot to not use the deprecated readdir_r.

Equivalent fixes are needed in src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
Comments
One of a set of 4 backports needed to compile against glibc versions > 2.24: JDK-8202353, JDK-8202794, JDK-8207340, and JDK-8207748. As a side effect, also fixes JDK-8202835. Patch applies cleanly net of line numbers.
29-03-2019

URL: http://hg.openjdk.java.net/jdk/jdk/rev/90144bc10fe6 User: alanb Date: 2018-07-17 07:12:44 +0000
17-07-2018