On Wed, 16 Mar 2022 13:26:36 GMT, Aleksei Efimov <aefi...@openjdk.org> wrote:
> Hi, > > This cleanup change removes `InetAddressImplFactory` class from > `InetAddress`. The list of changes: > - Remove `InetAddressImplFactory` from `InetAddress` > - Since `isIPv6Supported` native code is identical for Windows and Unix > implementations it was moved to the libnet's `InetAddress.c`. > - `InetAddressImplFactory.c` Windows and Unix implementations were removed > > Testing: jdk-tier1 to jdk-tier3 tests show no failures related to the change src/java.base/share/native/libnet/InetAddress.c line 88: > 86: * Class: java_net_InetAddress > 87: * Method: isIPv6Supported > 88: * Signature: ()I Hello Aleksei, should this be `()Z` to represent the binary name of the boolean type https://docs.oracle.com/javase/specs/jvms/se17/html/jvms-4.html#jvms-4.3.2-200 ------------- PR: https://git.openjdk.java.net/jdk/pull/7842