RFR: 8261753: Test java/lang/System/OsVersionTest.java still failing on BigSur patch versions after JDK-8253702 [v2]

Roger Riggs rriggs at openjdk.java.net
Mon Feb 15 15:10:41 UTC 2021


On Mon, 15 Feb 2021 15:07:55 GMT, Christoph Langer <clanger at openjdk.org> wrote:

>> After the fix for JDK-8253702, the test java/lang/System/OsVersionTest.java still fails on BigSur versions that have a patch version (> 1), e.g. on macOS Big Sur 11.2.1, and where the JDK was built with xcode < 12.
>> 
>> java.lang.Error: 11.2 != 11.2.1
>> 
>> This is a proposal to relax the test and throw a SkippedException in such cases.
>
> Christoph Langer has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Simplify the coding, use startsWith comparison

Marked as reviewed by rriggs (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/2576


More information about the core-libs-dev mailing list