On Thu, 24 Sep 2026 01:59:17 GMT, David Holmes <[email protected]> wrote:

>> I suppose the error code could change from platform to platform and so could 
>> the actual error text for the error code, but it should be providing the 
>> appropriate text for the error code on the platform it is running on. If you 
>> aren't comfortable with it, you can just stick with what you have.
>
> The errors are Posix defined so strerror can be used to convert them from 
> numeric to text.

But you need `strerror_r` for thread safety. That said we have quite a few 
places in hotspot where we just report the numeric value so this is not an 
essential change.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/32999#discussion_r4089090889

Reply via email to