mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-17 05:45:05 +00:00
7030523: regression: imporper checking of paramater
Reviewed-by: weijun
This commit is contained in:
parent
ffb4670468
commit
6241ea3004
@ -64,7 +64,7 @@ public class KeyStoreBuilderParameters implements ManagerFactoryParameters {
|
||||
* @exception IllegalArgumentException if parameters is an empty list
|
||||
*/
|
||||
public KeyStoreBuilderParameters(List<Builder> parameters) {
|
||||
if (this.parameters.isEmpty()) {
|
||||
if (parameters.isEmpty()) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user