RFR: 8282932: a space is needed for the unsupported protocol exception message in ProtocolVersion

John Jiang jjiang at openjdk.java.net
Thu Mar 10 06:58:54 UTC 2022


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);
}

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

Commit messages:
 - 8282932: a space is needed for the unsupported protocol exception message in ProtocolVersion

Changes: https://git.openjdk.java.net/jdk/pull/7769/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7769&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282932
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7769.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7769/head:pull/7769

PR: https://git.openjdk.java.net/jdk/pull/7769



More information about the security-dev mailing list