On Mon, 19 Dec 2022 11:49:42 GMT, Alexey Ivanov <[email protected]> wrote:

>> Tejesh R has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Updated fix
>
> src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolder2.java line 
> 1444:
> 
>> 1442:                 }
>> 1443:             }
>> 1444:             if ((retVal != null) && (retVal.getWidth(null) != w)) {
> 
> I believe this change is not needed.

> You may still add `assert` statements into `MultiResolutionIconImage` 
> constructors which ensures `resolutionVariants` contains no `null` values.

Will add assert statements in this `public MultiResolutionIconImage(int 
baseSize, Image image)` as null checks are handled in other constructor.

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

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

Reply via email to