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

Florian Weimer fweimer at redhat.com
Sat Sep 28 09:09:25 UTC 2019


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