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

Alan Bateman Alan.Bateman at oracle.com
Mon Feb 17 12:28:33 UTC 2020

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. The len parameter should have been 
sizeof(addr.sun_path) but changing this to snprintf looks okay too.


More information about the core-libs-dev mailing list