< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.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.

*** 27,11 ***
   * @summary Test a few scenarios if an empty class, which has the same name as the one in the jimage, is specified in the -Xbootclasspath/a
   *     1) boot loader will always load the class from the bootclasspath
   *     2) app loader will load the class from the jimage by default;
   *        app loader will load the class from the bootclasspath if the
   *        "--limit-modules java.base" option is specified
!  * @requires vm.cds & !vm.graal.enabled
   * @requires test.thread.factory == null
   * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
   * @modules java.base/jdk.internal.access
   * @compile ../../test-classes/EmptyClassHelper.java
   * @compile ../../test-classes/com/sun/tools/javac/Main.jasm
--- 27,11 ---
   * @summary Test a few scenarios if an empty class, which has the same name as the one in the jimage, is specified in the -Xbootclasspath/a
   *     1) boot loader will always load the class from the bootclasspath
   *     2) app loader will load the class from the jimage by default;
   *        app loader will load the class from the bootclasspath if the
   *        "--limit-modules java.base" option is specified
!  * @requires vm.cds
   * @requires test.thread.factory == null
   * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
   * @modules java.base/jdk.internal.access
   * @compile ../../test-classes/EmptyClassHelper.java
   * @compile ../../test-classes/com/sun/tools/javac/Main.jasm
< prev index next >