RFR: 8374555: No need for visible input warning in s.s.u.Password when not reading from System.in [v2]

Sean Coffey coffeys at openjdk.org
Tue Jan 6 14:04:38 UTC 2026


On Tue, 6 Jan 2026 13:54:48 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> 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?

not sure - couldn't it still interfere with tests running in parallel ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29051#discussion_r2665025865


More information about the security-dev mailing list