< prev index next >

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

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 1999, 2019, 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.

@@ -22,10 +22,11 @@
   */
  
  /* @test
     @bug 4180429
     @summary Lossage in dup2 if System.in is closed.
+    @requires vm.flagless
     @run main/othervm Duped
   */
  
  import java.io.BufferedReader;
  import java.io.PrintStream;
< prev index next >