mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8278744: KeyStore:getAttributes() not returning unmodifiable Set
Reviewed-by: mullan
This commit is contained in:
parent
475ec8e6c5
commit
0cc989b7d2
2 changed files with 65 additions and 1 deletions
|
@ -1313,7 +1313,7 @@ public final class PKCS12KeyStore extends KeyStoreSpi {
|
|||
return super.engineGetAttributes(alias);
|
||||
}
|
||||
Entry entry = entries.get(alias.toLowerCase(Locale.ENGLISH));
|
||||
return getAttributes(entry);
|
||||
return Collections.unmodifiableSet(new HashSet<>(getAttributes(entry)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue