<Swing Dev> RFR: 8199079: Test javax/swing/UIDefaults/6302464/bug6302464.java is unstable
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Apr 21 03:59:04 UTC 2021
On Tue, 20 Apr 2021 23:16:29 GMT, Phil Race <prr at openjdk.org> 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
More information about the swing-dev
mailing list