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(). ------------- Commit messages: - 8357305: Compilation failure in javax/swing/JMenuItem/bug6197830.java Changes: https://git.openjdk.org/jdk/pull/25319/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25319&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8357305 Stats: 143 lines in 1 file changed: 139 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/25319.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/25319/head:pull/25319 PR: https://git.openjdk.org/jdk/pull/25319