< prev index next >

test/jdk/java/lang/RuntimeTests/exec/SetCwd.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -25,11 +25,11 @@
   * @test
   * @bug 4156278
   * @summary Basic functional test for
   *          Runtime.exec(String[] command, String[] env, File path) and
   *          Runtime.exec(String command, String[] env, File path).
-  *
+  * @requires vm.flagless
   * @library /test/lib
   * @run testng/othervm SetCwd
   */
  import org.testng.annotations.BeforeTest;
  import org.testng.annotations.Test;
< prev index next >