JDK-8214944 : replace strerror by os::strerror
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11,12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-12-06
  • Updated: 2018-12-14
  • Resolved: 2018-12-07
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 12
12 b24Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Hotspot still  has a few uses of the thread unsafe strerror function.
Most places where strerror has been used previously, were already replaced by  os::strerror  (using a errno_to_string  error text array).

But a few places remained and should also use  os:strerror.
Comments
Previous strerror replacement was done under JDK-8148425. The new uses in OS-specific get_mtime functions were added in a few weeks later by JDK-8146879
06-12-2018