RFR (XS): 8231600: Avoid GCC 8 strncpy error in jdk.jdwp.agent

Chris Plummer chris.plummer at oracle.com
Sat Sep 28 19:12:33 UTC 2019


Fix looks good.

thanks,

Chris

On 9/28/19 2:09 AM, Florian Weimer wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8231600
> Webrev: http://cr.openjdk.java.net/~fweimer/8231600/webrev.01/
>
> We know the size of the string, so we can use memcpy instead of strncpy.
>
> Thanks,
> Florian



More information about the serviceability-dev mailing list