8242929: The values of jdk.tls.namedGroups should not be case-sensitive

The values of jdk.tls.namedGroups should not be case-sensitive

Reviewed-by: xuelei
This commit is contained in:
Sibabrata Sahoo 2020-04-23 22:49:55 -07:00
parent 905eb57ede
commit e5c84ff282
3 changed files with 25 additions and 20 deletions

View file

@ -350,7 +350,7 @@ enum NamedGroup {
static NamedGroup nameOf(String name) {
for (NamedGroup group : NamedGroup.values()) {
if (group.name.equals(name)) {
if (group.name.equalsIgnoreCase(name)) {
return group;
}
}