<Swing Dev> [jdk17] RFR: 8269269: [macos11] SystemIconTest fails with ClassCastException [v3]
Alexander Zuev
kizune at openjdk.java.net
Thu Jul 1 21:19:38 UTC 2021
On Thu, 1 Jul 2021 20:58:59 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> When in what line of code we got a null from the native code so the UIManager was used?
>
>> When in what line of code we got a null from the native code so the UIManager was used?
>
> I haven't got into the exact native part which is failing. The problem is that i was able to reproduce it only twice in a couple of weeks - both time remotely, both time on headless machine. If i insert enough debug output to pinpoint the location it stops reproducing.
> That test was not marked as headful because this API should work in the headless environment as well
Ok, i removed the headful mark and also removed the testing for icon always be MRI on windows because it is not so under some circumstances and it is within spec to return single resolution icon so this assumption is incorrect.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/178
More information about the swing-dev
mailing list