On Tue, 22 Jul 2025 18:07:52 GMT, Phil Race <p...@openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Document NPE behaviour and update test and add class-level statement >> - Document NPE behaviour and update test and add class-level statement > > src/java.desktop/share/classes/javax/swing/ImageIcon.java line 388: > >> 386: public void setImage(Image image) { >> 387: this.image = image; >> 388: if (image == null) { > > Umm. We had decided (in the end) to document the NPE. fixed ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25767#discussion_r2224239516