RFR: 8299043 : test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java fails with java.lang.NullPointerException

Sergey Bylokhov serb at openjdk.org
Mon Dec 19 20:30:47 UTC 2022


On Mon, 19 Dec 2022 20:20:11 GMT, lawrence.andrews <duke at openjdk.org> wrote:

> Test was failing with java.lang.NullPointerException due to image file extension was specified in upper case ( GIF ) https://github.com/openjdk/jdk/blob/master/test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java#L44-L50  but actually it is in smaller case ( gif )  https://github.com/openjdk/jdk/tree/master/test/jdk/javax/swing/AbstractButton/5049549 . 
> The was working as expected in mac but failed in ubuntu. After fixing the image file extension( gif ) and run the test it worked and exception was not reproduced. 
> 
> @shurymury 
> @honkar-jdk

Marked as reviewed by serb (Reviewer).

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

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



More information about the client-libs-dev mailing list