On Tue, 22 Apr 2025 05:10:16 GMT, Tejesh R <t...@openjdk.org> wrote: >> test/jdk/java/awt/Menu/OnFlyRepaintMenuTest.java line 50: >> >>> 48: 1. Click the button 'Change state' and wait for 5 secs. >>> 49: 2. If menu is repainted correctly after its setLabel() >>> 50: and setEnabled() methods called test PASSED, else >>> FAILED. >> >> How to know that correct menu is repainted ? >> >> You may add the initial menu details... like menu labels, menu state, menu >> checked state etc. >> And then after clicks... what change is expected ? >> >> This will give tester an info to compare against the test instructions. > > repainted correctly after setLabel and setEnabled is evident that its w.r.t > to label and enable/disable.
In that case, there is no info about `setDisable` method in test instruction. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24681#discussion_r2053343847