RFR: 8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java [v3]

Srinivas Mandalika smandalika at openjdk.org
Thu Sep 4 08:32:23 UTC 2025


> The java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java test uses object monitors and wait/notify to synchronise actions in the test.
> 
> Using CountDownLatch could make the test simpler, shorter, clearer.
> Tested the code on a windows-x64, macos-x64 and lnux-x64 machines and the test is working as expected.

Srinivas Mandalika has updated the pull request incrementally with one additional commit since the last revision:

  Review Feedback: Removed redundant RTEs

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26471/files
  - new: https://git.openjdk.org/jdk/pull/26471/files/e7091014..d766b695

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26471&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26471&range=01-02

  Stats: 44 lines in 1 file changed: 1 ins; 26 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/26471.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26471/head:pull/26471

PR: https://git.openjdk.org/jdk/pull/26471


More information about the client-libs-dev mailing list