mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8242565: Policy initialization issues when the denyAfter constraint is enabled
Reviewed-by: weijun
This commit is contained in:
parent
3cc1fdf2b6
commit
3efd000036
6 changed files with 18 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2020, 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
|
||||
|
@ -556,7 +556,8 @@ public class Main {
|
|||
}
|
||||
|
||||
static char[] getPass(String modifier, String arg) {
|
||||
char[] output = KeyStoreUtil.getPassWithModifier(modifier, arg, rb);
|
||||
char[] output =
|
||||
KeyStoreUtil.getPassWithModifier(modifier, arg, rb, collator);
|
||||
if (output != null) return output;
|
||||
usage();
|
||||
return null; // Useless, usage() already exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue