On Thu, 20 May 2021 15:57:04 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> This is to describe one of my questions above, is this instanceof+cast cannot 
> be improved? Why we cannot always wrap the data in the MRI and if we have 
> only one icon return the MRI with one resolution?

No because in specification we say that we do not guarantee the the icon 
returned will be MRI. We know how it works on Windows so we test it this way.

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

PR: https://git.openjdk.java.net/jdk/pull/2875

Reply via email to