On Fri, 27 May 2022 20:31:08 GMT, Phil Race <p...@openjdk.org> wrote:
> Can you confirm we still need the Frame ? I mean when does the > used-to-be-leaky listener get installed ? If it is sufficient to add it to > the panel and the panel doesn't need to be added to the frame then the test > can be headless. But we need to be sure that doesn't skip what we want to > test. No, we dont need the frame. The leaky listener gets installed when we call `new TitledBorder()` I have made the test headless which still fails without the fix and passes with TitledBorder fix and also pass in all CI headless platforms ------------- PR: https://git.openjdk.java.net/jdk/pull/8450