On Thu, 26 Mar 2026 17:02:10 GMT, Weijun Wang <[email protected]> wrote:

>> A new security/system property added to determine whether Java can read 
>> password from `System.in` if a console is not available.
>
> Weijun Wang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   addressing Sean's command on java.security wordings

src/java.base/share/conf/security/java.security line 1735:

> 1733: # kinit, or by an API such as PasswordCallback with echo off, it 
> normally reads
> 1734: # directly from the console. If the console is not available, Java may 
> fall back
> 1735: # to reading from the standard input stream ("System.in"), which 
> typically

I note the word "may". Do we need to say under what conditions Java will 
fallback?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/29490#discussion_r2997235391

Reply via email to