[jdk25u-dev] Integrated: 8361894: sun/security/krb5/config/native/TestDynamicStore.java ensure that the test is run with sudo

Roland Mesde duke at openjdk.org
Mon Feb 23 17:58:10 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.

This pull request has now been integrated.

Changeset: 1371f0a5
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/1371f0a591768b270e6951c316e068267aa802dd
Stats:     15 lines in 1 file changed: 13 ins; 0 del; 2 mod

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

Backport-of: f73e56e24f0edfaeb99e2106a56725ea033bd6d6

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

PR: https://git.openjdk.org/jdk25u-dev/pull/292


More information about the jdk-updates-dev mailing list