< prev index next >

test/jdk/java/util/ResourceBundle/modules/basic/BasicTest.java

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

*** 41,11 ***
   * @build jdk.test.lib.JDKToolLauncher
   *        jdk.test.lib.Utils
   *        jdk.test.lib.compiler.CompilerUtils
   *        jdk.test.lib.process.ProcessTools
   *        ModuleTestUtil
!  * @run junit BasicTest
   */
  
  import java.nio.file.Path;
  import java.nio.file.Paths;
  import java.util.List;
--- 41,11 ---
   * @build jdk.test.lib.JDKToolLauncher
   *        jdk.test.lib.Utils
   *        jdk.test.lib.compiler.CompilerUtils
   *        jdk.test.lib.process.ProcessTools
   *        ModuleTestUtil
!  * @run junit/timeout=200 BasicTest
   */
  
  import java.nio.file.Path;
  import java.nio.file.Paths;
  import java.util.List;

*** 204,6 ***
          int exitCode = ProcessTools.executeCommand(launcher.getCommand())
                  .getExitValue();
          assertEquals(exitCode, 0, "Create extra_modlocal.jar failed. "
                  + "Unexpected exit code: " + exitCode);
      }
! }
--- 204,6 ---
          int exitCode = ProcessTools.executeCommand(launcher.getCommand())
                  .getExitValue();
          assertEquals(exitCode, 0, "Create extra_modlocal.jar failed. "
                  + "Unexpected exit code: " + exitCode);
      }
! }
< prev index next >