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

2020-02-17 Thread Alan Bateman
On 17/02/2020 10:37, linzang(臧琳) wrote: 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. Yes, this test was expanded recently to run the launcher with stdin connected to a Unix domain socket.

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

2020-02-17 Thread 臧琳
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 -- Lin >Thanks a lot ! >-- >Lin >>On 2020-02-17 08:48, linzang(臧琳) wrote: >>Hi, >> May I ask help to review one tiny

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

2020-02-17 Thread 臧琳
Thanks a lot ! -- Lin >On 2020-02-17 08:48, linzang(臧琳) wrote: >Hi, > 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

Re: RFR: JDK-8239139 testmake fail with warning about strncpy using gcc version 8

2020-02-16 Thread Magnus Ihse Bursie
On 2020-02-17 08:48, linzang(臧琳) wrote: Hi, 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!