RFR: JDK-8239139 testmake fail with warning about strncpy using gcc version 8(Internet mail)

linzang(臧琳) linzang at tencent.com
Mon Feb 17 10:37:59 UTC 2020

From updates in https://bugs.openjdk.java.net/browse/JDK-8239139,
This is related to a test case of recent nio patch.
so move this thread to nio-dev.

>Thanks a lot !
>>On 2020-02-17 08:48, linzang(臧琳) wrote:
>> May I ask help to review one tiny fix of build failure described at https://bugs.openjdk.java.net/browse/JDK-8239139
>>     Root cause is gcc version 8 prints warning for strncpy.
>>     The fix simply replace strncpy with snprintf.
>>     Thanks!
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8239139
>> webrev: http://cr.openjdk.java.net/~lzang/8239139/webrev/
>>Hi Lin,
>>This is not a build issue. I'm redirecting this to core-libs.

More information about the core-libs-dev mailing list