RFR: 6854300: [TEST_BUG] java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.java fails in jdk6u14 & jdk7 [v2]

Alexander Zvegintsev azvegint at openjdk.java.net
Fri Oct 29 01:24:41 UTC 2021


> Test trying to call `button.getLocationOnScreen()` when its frame not yet fully configured, so the obtained button location is shifted by window's height. 
> 
> Waiting a bit after `setVisible()` call fixes the issue. Some cleanup was made also. Testing is green on all platforms.

Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:

  more EDT

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6164/files
  - new: https://git.openjdk.java.net/jdk/pull/6164/files/43506150..be592ef9

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6164&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6164&range=00-01

  Stats: 23 lines in 1 file changed: 10 ins; 2 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6164.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6164/head:pull/6164

PR: https://git.openjdk.java.net/jdk/pull/6164



More information about the client-libs-dev mailing list