On Fri, 14 May 2021 13:41:31 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> I see - but still it has to be solved in the getShell32Icon method - which >> i'm going to do in a moment. > > `Win32ShellFolder2.getSystemIcon` is still affected, the return value should > be wrapped into MR-icon if its size is not equal to `LARGE_ICON_SIZE`. > > static Image getSystemIcon(SystemIcon iconType) { > long hIcon = getSystemIcon(iconType.getIconID()); > Image icon = makeIcon(hIcon); > if (LARGE_ICON_SIZE != icon.getWidth(null)) { > icon = new MultiResolutionIconImage(size, icon); > } > disposeIcon(hIcon); > return icon; > } Fixed. ------------- PR: https://git.openjdk.java.net/jdk/pull/2875