<AWT Dev> RFR: 8182043: Access to Windows Large Icons [v11]

Alexander Zuev kizune at openjdk.java.net
Sat May 22 00:59:17 UTC 2021

On Fri, 21 May 2021 21:24:10 GMT, Phil Race <prr at openjdk.org> wrote:

> if the aspect ratio is consistent as I expect is typical we should support that

Ok, i see your point. I can do that for sure, it is just a change of API for now, no implementation will be affected since Windows does not support non-square icons for files and passage about exact size can not be guaranteed will save us from "i requested 128x20 and you returned 128x128" complaints. One will get what platform is able to serve. However, i do not see why we should limit the maximum requested size.

> I can't agree that IAE is wrong for a negative size.

How about non-existing file or file? Also IAE?


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

More information about the awt-dev mailing list