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

2024-03-11 Thread Korov
On Tue, 5 Mar 2024 13:37:22 GMT, Korov wrote: >>> Seems good. If nobody disagrees such mixed patch, I will help you change >>> the title and content of the issue. >> >> Have changed just now! And please wait for a formal reviewer to review this >> path. > >> > Seems good. If nobody disagrees s

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

2024-03-11 Thread Daniel Fuchs
On Thu, 7 Mar 2024 16:53:22 GMT, Korov wrote: >> 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.a

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

2024-03-07 Thread Andrey Turbanov
On Thu, 7 Mar 2024 16:53:05 GMT, Korov 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 > >

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

2024-03-07 Thread Korov
On Thu, 7 Mar 2024 16:21:14 GMT, Daniel Fuchs 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: } >

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

2024-03-07 Thread Korov
> 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 e

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

2024-03-07 Thread Daniel Fuchs
On Sat, 2 Mar 2024 13:51:04 GMT, Korov wrote: >> 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.a

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

2024-03-05 Thread Korov
On Tue, 5 Mar 2024 12:01:38 GMT, Guoxiong Li wrote: > > Seems good. If nobody disagrees such mixed patch, I will help you change > > the title and content of the issue. > > Have changed just now! And please wait for a formal reviewer to review this > path. Thanks so much!!! - PR

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

2024-03-05 Thread Guoxiong Li
On Sat, 2 Mar 2024 11:43:27 GMT, Korov wrote: > Seems good. If nobody disagrees such mixed patch, I will help you change the > title and content of the issue. Have changed just now! And please wait for a formal reviewer to review this path. - PR Comment: https://git.openjdk.org/j

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

2024-03-04 Thread Andrey Turbanov
On Sat, 2 Mar 2024 13:51:04 GMT, Korov wrote: >> 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.a

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

2024-03-02 Thread Korov
On Sat, 2 Mar 2024 13:00:21 GMT, Andrey Turbanov 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:

Re: RFR: 8312444: Delete unused parameters and variables in SocketPermission

2024-03-02 Thread Korov
On Sat, 2 Mar 2024 13:02:58 GMT, Andrey Turbanov wrote: >> 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 >> `SocketPe

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

2024-03-02 Thread Korov
> 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 e

Re: RFR: 8312444: Delete unused parameters and variables in SocketPermission

2024-03-02 Thread Andrey Turbanov
On Fri, 1 Mar 2024 17:35:35 GMT, Korov wrote: > 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.author

Re: RFR: 8312444: Delete unused parameters and variables in SocketPermission

2024-03-02 Thread Korov
On Sat, 2 Mar 2024 11:35:29 GMT, Guoxiong Li wrote: > > Hello @lgxbslgx , the title has been changed, Can you check if it's > > suitable? > > Seems good. If nobody disagrees such mixed patch, I will help you change the > title and content of the issue. Thanks so much. - PR Comme

Re: RFR: 8312444: Delete unused parameters and variables in SocketPermission

2024-03-02 Thread Guoxiong Li
On Sat, 2 Mar 2024 08:54:44 GMT, Guoxiong Li wrote: >> 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 >> `SocketPermis

Re: RFR: 8312444: Delete unused parameters and variables in SocketPermission

2024-03-02 Thread Korov
On Sat, 2 Mar 2024 08:54:44 GMT, Guoxiong Li wrote: > The patch looks good. But the title of this issue may need to be adjusted, > because you not only change the `SocketPermission.initEphemeralPorts` but > also change other code. Or you can separate the unrelated code to another > issue. Hel