RFR: 8306996: Open source Swing MenuItem related tests

Harshitha Onkar honkar at openjdk.org
Sat May 6 00:42:20 UTC 2023


On Sat, 6 May 2023 00:17:01 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> This PR is to open source JMenuItem related swing tests.
>
> test/jdk/javax/swing/JMenuItem/bug4839464.java line 29:
> 
>> 27:     @summary Shortcoming in the way JMenuItem handles 'propertyChange()' events.
>> 28:     @library ../../regtesthelpers
>> 29:     @build Util JRobot
> 
> I see Util is added but I don't see any Util methods used. Is this needed?
> 
> Also, did you try running this test after moving it to open? I think you get an error with this ```regtesthelpers``` path since you removed the individual directories for each of these tests and placed them directly into the ```JMenuItem``` dir.

@kumarabhi006 Yes, it should be `@library ../regtesthelpers`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13822#discussion_r1186570185



More information about the client-libs-dev mailing list