RFR: 8327182: Move serverAlias into the loop

Guoxiong Li gli at openjdk.org
Mon Mar 4 09:17:52 UTC 2024


On Mon, 4 Mar 2024 03:58:18 GMT, John Jiang <jjiang at openjdk.org> 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.

Marked as reviewed by gli (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/18100#pullrequestreview-1913794194



More information about the security-dev mailing list