RFR: 8282932: a space is needed for the unsupported protocol exception message in ProtocolVersion
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Thu Mar 10 07:09:36 UTC 2022
On Thu, 10 Mar 2022 06:52:14 GMT, John Jiang <jjiang at openjdk.org> wrote:
> In class sun.security.ssl.ProtocolVersion, the exception message for unsupported protocol needs a space.
>
> ProtocolVersion pv = ProtocolVersion.nameOf(pn);
> if (pv == null) {
> throw new IllegalArgumentException(
> "Unsupported protocol" + pn);
> }
Marked as reviewed by xuelei (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/7769
More information about the security-dev
mailing list