--- old/src/java.base/share/classes/java/net/SocketPermission.java 2018-09-28 11:29:06.341908797 +0700 +++ new/src/java.base/share/classes/java/net/SocketPermission.java 2018-09-28 11:29:05.945908797 +0700 @@ -464,7 +464,7 @@ // see if we are being initialized with an IP address. char ch = host.charAt(0); if (ch == ':' || Character.digit(ch, 16) != -1) { - byte ip[] = IPAddressUtil.textToNumericFormatV4(host); + byte[] ip = IPAddressUtil.textToNumericFormatV4(host); if (ip == null) { ip = IPAddressUtil.textToNumericFormatV6(host); }