RFR: JDK-8277396: [TESTBUG] In DefaultButtonModelCrashTest.java, frame is accessed from main thread
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Thu Nov 18 15:41:45 UTC 2021
On Thu, 18 Nov 2021 13:17:16 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> It's a little cleanup: make sure `frame` is accessed from EDT only, remove unused variables and imports.
I guess there's probably 100+ tests in swing that access frame outside EDT before it calls dispose ex.
Action/8133039/bug8133039.java, Box/TestBoxFiller.java, ButtonGroup/TestButtonGroupFocusTraversal.java, JButton/4368790/bug4368790.java, JButton/4796987/bug4796987.java..
If you are changing this, then those also needs to be updated, I guess..
-------------
PR: https://git.openjdk.java.net/jdk/pull/6455
More information about the client-libs-dev
mailing list