<Swing Dev> [jdk17] RFR: 8269269: [macos11] SystemIconTest fails with ClassCastException [v2]
Alexander Zuev
kizune at openjdk.java.net
Thu Jul 1 17:12:04 UTC 2021
On Thu, 1 Jul 2021 16:20:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> we get the icon of the correct size and skip the creation of "MultiResolutionIconImage"? As a result, the test fails because the icon is not multi-resolution.
Well, it might be this case sometimes but in the case when i was able to reproduce this issue it was null coming from native code so we were falling back to UIManager. I can enforce MRI creation even if size is correct - but again, the method signature does not promise the MRI in all cases so we might just modify the test case to not expect the MRI as granted even for the well-known files.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/178
More information about the swing-dev
mailing list