RFR: 8282526: Default icon is not painted properly [v7]

Phil Race prr at openjdk.org
Wed Jul 13 23:15:12 UTC 2022


On Wed, 6 Jul 2022 18:17:41 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> Detect the situation where we do need to perform interpolation during ImageIcon
>> painting and set a hint to the rendering to perform bicubic approximation so
>> image details are preserved during transition.
>
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Modified test case so it creates the new file instead of having it in
>   the test folder. Verified on automatic run.

Marked as reviewed by prr (Reviewer).

src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolder2.java line 1440:

> 1438:                 }
> 1439:             }
> 1440:             if (retVal.getWidth(null) != w) {

It isn't in this webrev but i jyst noticed
            // We only care about width since we don't support non-rectangular icons
I think that meant non-square ???

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

PR: https://git.openjdk.org/jdk/pull/7805



More information about the client-libs-dev mailing list