On Fri, 23 Jun 2023 04:52:45 GMT, Tejesh R <t...@openjdk.org> wrote: >> We have a couple of places where we call "setGraphicsConfiguration(null)", >> previously that sets the default GC, now it will set the null, can we try to >> trigger that codepath and check how it will work? > > Removing a Component will call `Component.setGraphicsConfiguration()`, which > in turn triggers `Component.updateGraphicsData()`. So > `setGraphicsConfiguration(null)` never invoked > `Window.setGraphicsConfiguration()`.
Anyhow I have tested the updated code in CI system multiple time, never encountered a failure due to null. As part of precautionary measures, let me retain the old code too, along with updated ones. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14246#discussion_r1239327196