RFR: 8214944: replace strerror by os::strerror

Kim Barrett kim.barrett at oracle.com
Fri Dec 7 00:13:28 UTC 2018


> On Dec 6, 2018, at 4:07 PM, Thomas Stüfe <thomas.stuefe at gmail.com> wrote:
> 
> On Thu, Dec 6, 2018 at 9:56 PM Kim Barrett <kim.barrett at oracle.com> wrote:
>> 
>>> On Dec 6, 2018, at 7:56 AM, David Holmes <david.holmes at oracle.com> wrote:
>>> Pity there is no way to detect when we use something like that which we shouldn’t.
>> 
>> You asked for it:
>> https://bugs.openjdk.java.net/browse/JDK-8214976
>> :)
>> 
> 
> That is neat!

Thanks.

> Note that I would like to have a simple, compiler-independent way to
> locally disable those warnings though.

I’d left that as an exercise for the reader, but have since added a comment to the RFE
describing how to do that.



More information about the hotspot-dev mailing list