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

Alexander Zuev kizune at openjdk.java.net
Thu Apr 29 15:02:52 UTC 2021


On Wed, 10 Mar 2021 20:32:12 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Fix updated after first round of review.
>
> src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolder2.java line 1195:
> 
>> 1193:      */
>> 1194:     static Image getShell32Icon(int iconID, int size) {
>> 1195:         boolean useVGAColors = true; // Will be ignored on XP and later
> 
> I cannot see where `useVGAColors` is used. Since the supported OS are later than XP, it can be removed, can't it?

I think so. Fixed.

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

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


More information about the awt-dev mailing list