RFR: 8361894: sun/security/krb5/config/native/TestDynamicStore.java ensure that the test is run with sudo [v4]

Matthew Donovan mdonovan at openjdk.org
Thu Oct 23 11:32:04 UTC 2025


On Mon, 21 Jul 2025 11:55:15 GMT, Mikhail Yankelevich <myankelevich at openjdk.org> wrote:

>> sun/security/krb5/config/native/TestDynamicStore.java is commonly run without sudo, which leads to the access related failure. 
>> Added a ui popup reminding to run the test with sudo, making instructions clearer and more noticeable
>
> Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
> 
>   comments

test/jdk/sun/security/krb5/config/native/TestDynamicStore.java line 65:

> 63:         if (!"root".equals(System.getProperty("user.name"))) {
> 64: 
> 65:             JOptionPane.showMessageDialog(null, """

Is this dialog box necessary if the test will fail with the same message?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26293#discussion_r2454808353


More information about the security-dev mailing list