On Tue, 20 May 2025 07:32:41 GMT, Manukumar V S <m...@openjdk.org> wrote:
> There are some compilation failures noticed in the recently open sourced test > javax/swing/JMenuItem/bug6197830.java. The compilation failures are due to > missing import statements and a missing dependency file MenuItemTest.java. > > Fix: I have added the required import statements and added the code-piece > from MenuItemTest.java as a method getMenuItemTestFrame(). I see that `MenuItemTest` class exists in `bug4729669.java`: https://github.com/openjdk/jdk/blob/e961b13cd68bc352b86af17c7e53df8537519beb/test/jdk/javax/swing/JMenuItem/bug4729669.java#L80 Is it similar to the one that you copied? If that `MenuItemTest` class is identical, I suggest moving both tests into a subdirectory and promoting `MenuItemTest` into a public class in that subdirectory which is located in its own `.java` file. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25319#issuecomment-2893798782