On Wed, 3 Mar 2021 05:14:11 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
>> 8261689: javax/swing/JComponent/7154030/bug7154030.java still fails with >> "Exception: Failed to hide opaque button" > > Alexander Zuev has updated the pull request incrementally with one additional > commit since the last revision: > > Moved checking block up to keep consistency of operations. test/jdk/javax/swing/JComponent/7154030/bug7154030.java line 115: > 113: Graphics g = fullScreen.getGraphics(); > 114: g.setColor(Color.RED); > 115: g.drawRect(locx - 1, locy - 1, frw + 1, frh + 1); I believe we need to call g.dispose to dispose this object which we normallydo after getGraphics() call. ------------- PR: https://git.openjdk.java.net/jdk/pull/2790