On Thu, 29 Jan 2026 21:33:46 GMT, Weijun Wang <[email protected]> wrote:

>> src/java.base/share/conf/security/java.security line 1729:
>> 
>>> 1727: # environment variable or a file.
>>> 1728: #
>>> 1729: #jdk.security.password.allowSystemIn = true
>> 
>> Should this be uncommented? Otherwise the default value is `null`
>
> This is our usual pattern in `java.security`. By commenting out the line, the 
> property read is null but internally treated as "true".

I was under the impression that 

System.getProperty("jdk.security.password.allowSystemIn")

would return `true`, as it reads "The default *value* is "true"".

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

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

Reply via email to