On Mon, 7 Oct 2024 03:26:59 GMT, Michael Strauß <mstra...@openjdk.org> wrote:
>> But drawable can now be disposed and set to null. If that happens and >> `createGraphics` is called again it will end in a NPE. > > The NPE would be a good thing then, as no method should be called on a > disposed object (except for `dispose`). Makes sense. I rolled back the null check. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1586#discussion_r1790585238