> On Sep 30, 2020, at 7:09 AM, Magnus Ihse Bursie > <magnus.ihse.bur...@oracle.com> wrote: > > > > On 2020-09-29 13:17, Kim Barrett wrote: >> Another option might be to solve >> https://bugs.openjdk.java.net/browse/JDK-8232187 >> > Will that really help? If a os::strncpy_s method is added to hotspot, how > should NetworkInterface.c in libnet be able to use it? > > /Magnus
That’s already mentioned in the comments for that bug. A real solution needs to figure out a solution to that part too. So not an easy solve. Also as mentioned in the comments, strncpy_s might not be the right API to provide. strscpy might be better. It might be that bug report should be retitled and the description rewritten.