mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
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:
parent
905eb57ede
commit
e5c84ff282
3 changed files with 25 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue