Browse Source

SecureInputHandler lost prompt with commit 066c4ce

master
Stefan Bodewig 7 years ago
parent
commit
bb572da3bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/input/SecureInputHandler.java

+ 1
- 1
src/main/org/apache/tools/ant/input/SecureInputHandler.java View File

@@ -42,7 +42,7 @@ public class SecureInputHandler extends DefaultInputHandler {
public void handleInput(InputRequest request) throws BuildException {
String prompt = getPrompt(request);
do {
char[] input = System.console().readPassword();
char[] input = System.console().readPassword(prompt);
if (input == null) {
throw new BuildException("unexpected end of stream while reading input");
}


Loading…
Cancel
Save