RFR: 8354928: Clean up and open source some miscellaneous AWT tests

Damon Nguyen dnguyen at openjdk.org
Fri Apr 18 17:38:56 UTC 2025


On Fri, 18 Apr 2025 16:47:49 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Clean up and open source some tests related to event processing in AWT library.

Changes requested by dnguyen (Committer).

The rest of the tests (automated and manual) run as expected and pass on my end.

test/jdk/java/awt/event/MouseWheelEvent/HWWheelScroll.java line 30:

> 28:  * @library /java/awt/regtesthelpers
> 29:  * @build PassFailJFrame
> 30:  * @run main/manual HWWheelScroll.html

Suggestion:

 * @run main/manual HWWheelScroll


Test doesn't run as is. Remove the `.html` here.

test/jdk/java/awt/event/MouseWheelEvent/HWWheelScroll.java line 75:

> 73:         retValue.add(makeListFrame(TEXT_TALL));
> 74:         retValue.add(makeListFrame(TEXT_WIDE));
> 75:         retValue.add(makeListFrame(TEXT_SMALL));

I see these frames being generated and displayed, but I have a single empty & untitled frame. Which one is this supposed to be?
<img width="592" alt="Screenshot 2025-04-18 at 10 32 55 AM" src="https://github.com/user-attachments/assets/36058ddc-4ac3-4ae3-ab51-e52e8962ba07" />

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

PR Review: https://git.openjdk.org/jdk/pull/24755#pullrequestreview-2779076754
PR Comment: https://git.openjdk.org/jdk/pull/24755#issuecomment-2815905071
PR Review Comment: https://git.openjdk.org/jdk/pull/24755#discussion_r2050908293
PR Review Comment: https://git.openjdk.org/jdk/pull/24755#discussion_r2050915775


More information about the client-libs-dev mailing list