RFR: 8327182: Move serverAlias into the loop

2024-03-03 Thread John Jiang
In method `X509Authentication::createServerPossession`, it looks unnecessary to define variable `serverAlias` out of the for-loop. It may be better to move `serverAlias` into that loop to narrow down the scope. - Commit messages: - 8327182: Move serverAlias into the loop Changes: h

Re: RFR: 8327182: Move serverAlias into the loop

2024-03-03 Thread Guoxiong Li
On Mon, 4 Mar 2024 03:58:18 GMT, John Jiang wrote: > In method `X509Authentication::createServerPossession`, it looks unnecessary > to define variable `serverAlias` out of the for-loop. > It may be better to move `serverAlias` into that loop to narrow down the > scope. src/java.base/share/clas

Re: RFR: 8327182: Move serverAlias into the loop

2024-03-03 Thread John Jiang
On Mon, 4 Mar 2024 05:04:13 GMT, Guoxiong Li wrote: >> In method `X509Authentication::createServerPossession`, it looks unnecessary >> to define variable `serverAlias` out of the for-loop. >> It may be better to move `serverAlias` into that loop to narrow down the >> scope. > > src/java.base/sh