<Swing Dev> [jdk17] RFR: 8269269: [macos11] SystemIconTest fails with ClassCastException

Alexander Zuev kizune at openjdk.java.net
Wed Jun 30 04:27:04 UTC 2021


On Tue, 29 Jun 2021 23:47:27 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Probably we can wrap the "UIManager.getIcon" in the "ImageIcon"?

Why? In some LaFs that might be a procedural image that generates it content every time paint() is called on it - i do not think wrapping it in the ImageIcon will solve anything.

-------------

PR: https://git.openjdk.java.net/jdk17/pull/178


More information about the swing-dev mailing list