On Mon, 29 Jul 2024 12:43:04 GMT, Fernando Guallini <fguall...@openjdk.org> wrote:
> The test: > **com/sun/security/auth/callback/TextCallbackHandler/Password.java** would > benefit from detailed manual steps to ensure it runs correctly. It was added > to the problem list because it was not executed properly and failed. > Providing these steps will help prevent such issues in the future. > > This test cannot be automated because > [util/Password.java](https://github.com/openjdk/jdk/blob/cd52ad80a82c8165424722dcddd37d6584137031/src/java.base/share/classes/sun/security/util/Password.java#L58) > verifies that the given input stream is equal to the **initialSystemIn**. As > a result, the test cannot simulate user input by providing a custom input > stream. > > Additionally, move it from **jdk_security_manual_no_input** to > **jdk_security_manual_interactive** because the user needs to enter several > passwords and verify the console output. Also, the test was originally > introduced in ticket ID: 6829785, added that information. This pull request has now been integrated. Changeset: a5c2d7b3 Author: Fernando Guallini <fguall...@openjdk.org> Committer: Rajan Halade <rhal...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/a5c2d7b305407974b3f67c48b8dcb1f8e77abde3 Stats: 17 lines in 3 files changed: 13 ins; 2 del; 2 mod 8335172: Add manual steps to run security/auth/callback/TextCallbackHandler/Password.java test Reviewed-by: rhalade ------------- PR: https://git.openjdk.org/jdk/pull/20374