RFR: 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main

Alexander Zvegintsev azvegint at openjdk.org
Mon Mar 18 21:19:40 UTC 2024


The test is converted to main and remains in the problem list, as the problem is still valid on Linux and macos. 
The test passes on Windows.

* sleeps on EDT removed, replaced with the Swing timer
* Unnecessary ltemListener and variables removed.
* Updated instructions with html for better readability
* small log improvements
* log area from PassFailJFrame used

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

Commit messages:
 - trailing spaces
 - Get rid of unnecessary ItemListener
 - instructions update
 - improve state logging
 - switch to logArea
 - do not call sleep on EDT
 - initial

Changes: https://git.openjdk.org/jdk/pull/18366/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18366&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328387
  Stats: 672 lines in 3 files changed: 220 ins; 399 del; 53 mod
  Patch: https://git.openjdk.org/jdk/pull/18366.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18366/head:pull/18366

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


More information about the client-libs-dev mailing list