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

Korov duke at openjdk.org
Thu Mar 7 16:56:56 UTC 2024


On Thu, 7 Mar 2024 16:21:14 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> This is used by internal whitebox test. Please revert this change.

Reverted.

> 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.

> This is important for some internal whitebox test. Please revert this change.

Reverted.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18086#discussion_r1516510850
PR Review Comment: https://git.openjdk.org/jdk/pull/18086#discussion_r1516509391
PR Review Comment: https://git.openjdk.org/jdk/pull/18086#discussion_r1516510305



More information about the security-dev mailing list