RFR: 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null' [v3]

Tejesh R tr at openjdk.org
Thu Dec 22 05:13:37 UTC 2022


On Wed, 21 Dec 2022 17:22:35 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Updated based on review comments
>
> src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolder2.java line 1408:
> 
>> 1406: 
>> 1407:         public MultiResolutionIconImage(int baseSize, Image image) {
>> 1408:             assert image != null : "Null icons are added into MRI variants map";
> 
> Suggestion:
> 
>             assert image != null : "Null icon passed as the base image for MRI";

Updated.

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

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



More information about the client-libs-dev mailing list