[jdk25u-dev] RFR: 8361894: sun/security/krb5/config/native/TestDynamicStore.java ensure that the test is run with sudo
duke
duke at openjdk.org
Mon Feb 23 17:00:15 UTC 2026
On Thu, 19 Feb 2026 19:05:19 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8361894: sun/security/krb5/config/native/TestDynamicStore.java ensure that the test is run with sudo.
>
> This PR adds a UI popup that detects and warns users when TestDynamicStore.java is run without required sudo privileges, preventing confusing access-related failures.
>
> For parity with Oracle JDK.
>
> Ran related tests on macos-aarch64:
>
> sudo -E ~/github/jtreg/build/images/jtreg/bin/jtreg -nativepath:./build/macosx-aarch64-server-release/images/test/jdk/jtreg/native -jdk build/macosx-aarch64-server-release/images/jdk -m test/jdk/sun/security/krb5/config/native/TestDynamicStore.java
>
> ```Test Result: Error. Parse Exception: '/manual' disables use of '/timeout'```
>
> The test fails due to https://bugs.openjdk.org/browse/JDK-8373793, which will be backported in a dependent PR (https://github.com/openjdk/jdk25u-dev/pull/297), where the test successfully executes with the behavior indicated in this PR.
@rm-gh-8
Your change (at version 30ba17319bd319c6ed8ff0d748b27a3f8aacfe5e) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/292#issuecomment-3946003190
More information about the jdk-updates-dev
mailing list