On Tue, 20 Apr 2021 23:16:29 GMT, Phil Race <[email protected]> wrote:
>> This test was marked as unstable in CI run in samevm mode but later on was
>> found passing in now-default othervm mode but was problemlisted only on
>> macos by JDK-8254976.
>> It is found that this test started failing in macos due to JDK-8220150:
>> [macos] macos10.14 Mojave returns anti-aliased glyphs instead of aliased B&W
>> glyphs
>> which turns Antialias hint even if it is set to off from macosx10.14 onwards.
>> So, this test started failing when it tries to test Antialias OFF hint.
>>
>> Proposed fix is to check for macosx 10.14 and greater version and bail out
>> from this subtest.
>>
>> @prrace Can you please take a look?
>
> test/jdk/javax/swing/UIDefaults/6302464/bug6302464.java line 138:
>
>> 136: }
>> 137: if (!isMacOSX14) {
>> 138: HashSet colorsAAOff =
>> getAntialiasedColors(VALUE_TEXT_ANTIALIAS_OFF, 100);
>
> what happens on macOS 11 ?
it also works in macos11
-------------
PR: https://git.openjdk.java.net/jdk/pull/3537