diff --git a/test/jdk/java/nio/channels/FileChannel/MapWithSecurityManager.java b/test/jdk/java/nio/channels/FileChannel/MapWithSecurityManager.java index a7990140307..37626cf6797 100644 --- a/test/jdk/java/nio/channels/FileChannel/MapWithSecurityManager.java +++ b/test/jdk/java/nio/channels/FileChannel/MapWithSecurityManager.java @@ -24,6 +24,7 @@ /* @test * @bug 8236582 * @summary Tests the map method when running with a security manager + * @run main/othervm MapWithSecurityManager */ import java.io.IOException;