RFR: 8349534: Refactor jdk/sun/security/krb5/runNameEquals.sh to java test [v2]

Weijun Wang weijun at openjdk.org
Tue Feb 11 13:26:11 UTC 2025


On Tue, 11 Feb 2025 11:29:59 GMT, Mikhail Yankelevich <duke at openjdk.org> wrote:

>> Refactored the runNameEquals.sh to java test
>
> Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
> 
>   minor cleanup

test/jdk/sun/security/krb5/Krb5NameEquals.java line 92:

> 90:                     final var installationIssue = Arrays.stream(javaPropCommandResult.getStdout().split("\n"))
> 91:                             .anyMatch(line -> line.contains("sun.arch.data.model") && line.contains("32"));
> 92: 

Since this is already a Java program, maybe we can simply `System.getProperty("sun.arch.data.model")` here?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23542#discussion_r1950846148


More information about the security-dev mailing list