On Fri, 21 May 2021 21:24:10 GMT, Phil Race <p...@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

Reply via email to