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 13:22:08 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> 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?
In fact, I'm not sure if this is still worth checking. Do we still have 32-bit Linux build?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23542#discussion_r1950847511
More information about the security-dev
mailing list