< prev index next >

test/jdk/jdk/jfr/event/os/TestInitialEnvironmentVariable.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2013, 2025, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2013, 2026, 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.

@@ -46,11 +46,11 @@
   */
  public class TestInitialEnvironmentVariable {
      private final static String EVENT_NAME = EventNames.InitialEnvironmentVariable;
  
      public static void main(String[] args) throws Exception {
-         ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(Test.class.getName());
+         ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder(Test.class.getName());
          setEnv(pb.environment());
          (new OutputAnalyzer(pb.start())).shouldHaveExitValue(0);
      }
  
      static void setEnv(Map<String, String> env) {
< prev index next >