RFR (XS) 8219583: Windows build failure after JDK-8214777 (Avoid some GCC 8.X strncpy() errors in HotSpot)

Kim Barrett kim.barrett at oracle.com
Fri Feb 22 19:56:34 UTC 2019


> On Feb 22, 2019, at 11:23 AM, Aleksey Shipilev <shade at redhat.com> wrote:
> 
> Bug:
>  https://bugs.openjdk.java.net/browse/JDK-8219583
> 
> Fix:
>  http://cr.openjdk.java.net/~shade/8219583/webrev.02/
> 
> New code introduced in JDK-8214777 calls to "naked" snprintf, which fails to compile in my Windows
> configs. It seems to be the omen to replace these with the usual jio_snprintf calls. There is also
> os::snprintf we can use instead, but shared runtime code really likes jio_snprintf, and it will
> delegate as needed.

Please use os::snprintf: https://bugs.openjdk.java.net/browse/JDK-8198918


> 
> Testing: Linux x86_64 build and hotspot tier1, Windows x86_64 build, jdk-submit (running)
> 
> Thanks,
> -Aleksey




More information about the hotspot-runtime-dev mailing list