Removing unused parameter `defval` in `SocketPermission.initEphemeralPorts`, so the variable `PRIV_PORT_MAX` and `DEF_EPH_LOW` unused too.
Removing unused parameter `cname` in `SocketPermission.authorizedIPv4` and `SocketPermission.authorizedIPv6`. Parameter 'action' must be not empty so `a.length > 0`, the check `a.length - 1 < 0` can be removed. ------------- Commit messages: - 8312444: Unused parameter defval in SocketPermission.initEphemeralPorts could be removed - 8312444: Unused parameter defval in SocketPermission.initEphemeralPorts could be removed Changes: https://git.openjdk.org/jdk/pull/18086/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18086&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8312444 Stats: 20 lines in 1 file changed: 0 ins; 9 del; 11 mod Patch: https://git.openjdk.org/jdk/pull/18086.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18086/head:pull/18086 PR: https://git.openjdk.org/jdk/pull/18086
