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

Korov duke at openjdk.org
Sat Mar 2 13:51:04 UTC 2024


On Sat, 2 Mar 2024 13:00:21 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Korov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Modiy the code accordingto the review
>
> src/java.base/share/classes/java/net/SocketPermission.java line 707:
> 
>> 705:     }
>> 706: 
>> 707:     private boolean authorized(String cname, byte[] addr) {
> 
> now `cname` parameter is unused in this method

`cname` has been deleted.

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

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



More information about the security-dev mailing list