RFR: 8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64 [v6]

Matthias Baesken mbaesken at openjdk.org
Thu Jan 11 15:19:29 UTC 2024


On Thu, 11 Jan 2024 15:08:28 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

>> test/lib/jdk/test/lib/Platform.java line 354:
>> 
>>> 352:     public static boolean isOracleLinux7() {
>>> 353:         if (System.getProperty("os.name").toLowerCase().contains("linux") &&
>>> 354:                 System.getProperty("os.version").toLowerCase().contains("el")) {
>> 
>> Hi,  I checked and the el ("Enterprise Linux" ?)  is shown in os.version on RHEL and Oracle Linux.  But how reliable is it? Could this show up also on some other distros in os.version (maybe in the cpu-related string of uname output?) ?
>
> I'm not aware of any conventions in the output of uname that would prevent other operating systems from including "el" followed by a number.

okay , then let's keep it the way it is now and adjust later if needed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16547#discussion_r1449013540



More information about the security-dev mailing list