RFR: 8312444: Delete unused parameters and variables in SocketPermission [v3]

Andrey Turbanov aturbanov at openjdk.org
Thu Mar 7 17:14:58 UTC 2024


On Thu, 7 Mar 2024 16:53:05 GMT, Korov <duke at openjdk.org> wrote:

>> src/java.base/share/classes/java/net/SocketPermission.java line 305:
>> 
>>> 303:     private void setDeny() {
>>> 304:         defaultDeny = true;
>>> 305:     }
>> 
>> This method is used in internal whitebox tests - please revert this change
>
> The method had been reverted.

do you which test uses this method? I wasn't able to find it.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18086#discussion_r1516535013


More information about the net-dev mailing list