< prev index next >

test/jdk/java/lang/SecurityManager/modules/CustomSecurityManagerTest.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2015, 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.
--- 1,7 ---
  /*
!  * Copyright (c) 2015, 2024, 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.

*** 62,11 ***
          };
      }
  
      @Test(dataProvider = "testCases")
      public void testProvider(List<String> args) throws Throwable {
!         ProcessBuilder processBuilder = ProcessTools.createLimitedTestJavaProcessBuilder(args);
          OutputAnalyzer outputAnalyzer = ProcessTools.executeCommand(processBuilder);
          outputAnalyzer.shouldHaveExitValue(0);
      }
  
  }
--- 62,11 ---
          };
      }
  
      @Test(dataProvider = "testCases")
      public void testProvider(List<String> args) throws Throwable {
!         ProcessBuilder processBuilder = ProcessTools.createTestJavaProcessBuilder(args);
          OutputAnalyzer outputAnalyzer = ProcessTools.executeCommand(processBuilder);
          outputAnalyzer.shouldHaveExitValue(0);
      }
  
  }
< prev index next >