On Wed, 21 Apr 2021 11:23:02 GMT, Prasanta Sadhukhan <psadhuk...@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? > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > BigSur fix I guess this will work - until Apple come out with 12.0 when it will break again. I'd have preferred to see you convert the first part of the string - up to before any 2nd decimal pt into a float and then just do a comparison. Not sure if the jtreg OSUtils have something to help. ------------- PR: https://git.openjdk.java.net/jdk/pull/3537