RFR: 8374555: No need for visible input warning in s.s.u.Password when not reading from System.in [v2]
Weijun Wang
weijun at openjdk.org
Tue Jan 6 13:58:22 UTC 2026
On Tue, 6 Jan 2026 07:32:00 GMT, Sean Coffey <coffeys at openjdk.org> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> warn only if VM is booted; more comments
>
> test/jdk/sun/security/util/Password/EmptyIn.java line 36:
>
>> 34: * @summary only print warning when reading from System.in
>> 35: * @modules java.base/sun.security.util
>> 36: * @library /test/lib
>
> I think this test needs to run in ovm mode given the System in/out modifications
I've reset the streams in finally. Is it still necessary to use ovm?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29051#discussion_r2665006456
More information about the security-dev
mailing list