diff --git a/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java b/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java index 41c5fdf8ccd..1426b97e3ca 100644 --- a/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java +++ b/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java @@ -184,21 +184,23 @@ import static javax.swing.SwingUtilities.isEventDispatchThread; * *
* Add the following jtreg tags before the test class declaration - * {@snippet : + *
* /*
- * * @test
+ * * @test
* * @summary Sample manual test
* * @library /java/awt/regtesthelpers
* * @build PassFailJFrame
* * @run main/manual SampleManualTest
- * }
- * and the closing comment tag */.
+ * */
+ *
* * The {@code @library} tag points to the location of the * {@code PassFailJFrame} class in the source code; * the {@code @build} tag makes jtreg compile the {@code PassFailJFrame} class, * and finally the {@code @run} tag specifies it is a manual * test and the class to run. + *
+ * Don't forget to update the name of the class to run in the {@code @run} tag. * *