RFR: 8327182: Move serverAlias into the loop [v2]

John Jiang jjiang at openjdk.org
Thu Mar 14 03:12:30 UTC 2024


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

John Jiang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Merge branch 'master' into JDK-8327182
 - 8327182: Move serverAlias into the loop

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

Changes: https://git.openjdk.org/jdk/pull/18100/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18100&range=01
  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18100.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18100/head:pull/18100

PR: https://git.openjdk.org/jdk/pull/18100



More information about the security-dev mailing list