On Thu, 20 Aug 2026 17:07:30 GMT, Marius Hanl <[email protected]> wrote:
>> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> tests > > modules/javafx.graphics/src/test/java/test/com/sun/javafx/util/TestImageUtils.java > line 70: > >> 68: // StubToolkit cannot write jpg, we'll test for non-null return >> value >> 69: // assertTrue(b.length > 0); >> 70: assertTrue(b != null); > > A `byte[]` can never be null. Good to have tests but I wonder why only jpg / > jpeg do not work? Digging here, `ImageIO.write(bi, format, out);` returns `false` - no appropriate writer found ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2267#discussion_r3823726638
