Skip to content
Permalink
Browse files
8282932: a space is needed for the unsupported protocol exception mes…
…sage in ProtocolVersion

Reviewed-by: xuelei, mullan
  • Loading branch information
John Jiang committed Mar 10, 2022
1 parent 879b644 commit 1f295239b97cccfff24df259215d34c712065867
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -290,7 +290,7 @@ static List<ProtocolVersion> namesOf(String[] protocolNames) {
ProtocolVersion pv = ProtocolVersion.nameOf(pn);
if (pv == null) {
throw new IllegalArgumentException(
"Unsupported protocol" + pn);
"Unsupported protocol: " + pn);
}

pvs.add(pv);

1 comment on commit 1f29523

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 1f29523 Mar 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.