Hi Christioph, I had a look at your change.
The code you remove is only used if __GLIBC__ is not defined _and_ it's FreeBSD older than 6.11. The removed code is basically identical to the other code. You added the fallback to lookupIfIfLocalhost() to the shared code guarded by MACOSX which makes sense. Looks good. Thanks, Goetz. > From: Langer, Christoph > Sent: Montag, 12. Dezember 2016 11:06 > To: 'Michael McMahon' <michael.x.mcma...@oracle.com>; Chris Hegarty > <chris.hega...@oracle.com>; OpenJDK Network Dev list <net- > d...@openjdk.java.net> > Subject: RFR(S): 8171075: Inet4AddressImpl: Remove duplicate and (no longer > used ?) native coding for BSD > > Michael, Chris, > > please have a look at this. This is the subset from 8167420 that removes the > obsolete BSD coding. > > Bug: https://bugs.openjdk.java.net/browse/JDK-8171075 > > Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8171075.0/ > > Thanks, > Christoph > >