From 44ab8889a5d75a0cdd37a54ebe0788db7a21c7e8 Mon Sep 17 00:00:00 2001 From: Damon Nguyen Date: Wed, 20 Mar 2024 09:15:06 -0700 Subject: [PATCH] Review comments --- test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java b/test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java index 205a88bdc8a93..ea471819ea004 100644 --- a/test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java +++ b/test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java @@ -23,10 +23,11 @@ /* @test * @bug 4078566 6658398 + * @requires (os.family == "linux") * @library /java/awt/regtesthelpers * @build PassFailJFrame * @summary Test for a memory leak in Image. - * @run main MemoryLeakTest + * @run main/manual MemoryLeakTest */ import java.awt.Color; @@ -39,7 +40,7 @@ public class MemoryLeakTest { private static final String INSTRUCTIONS = """ - Do the following steps on Solaris only. + Do the following steps on Unix platforms. Maximize and minimize the Memory Leak Test window. Execute the following after minimize. ps -al | egrep -i 'java|PPID'