[jdk25u-dev] RFR: 8361894: sun/security/krb5/config/native/TestDynamicStore.java ensure that the test is run with sudo
Roland Mesde
duke at openjdk.org
Thu Feb 19 22:46:18 UTC 2026
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 -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.
-------------
Commit messages:
- Backport f73e56e24f0edfaeb99e2106a56725ea033bd6d6
Changes: https://git.openjdk.org/jdk25u-dev/pull/292/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=292&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8361894
Stats: 15 lines in 1 file changed: 13 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/292.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/292/head:pull/292
PR: https://git.openjdk.org/jdk25u-dev/pull/292
More information about the jdk-updates-dev
mailing list