< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/aotCache/SpecialCacheNames.java

Print this page
*** 21,22 ***
   * questions.
   *
   */
  
  /*
!  * @test
!  * @summary Use special characters in the name of the cache file specified by -XX:AOTCacheOutput
   *          Make sure these characters are passed to the child JVM process that assembles the cache.
   * @requires vm.cds.supports.aot.class.linking
   * @comment work around JDK-8345635
   * @requires !vm.jvmci.enabled
   * @library /test/lib
   * @build SpecialCacheNames
   * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar MyTestApp
   * @run driver SpecialCacheNames AOT --one-step-training
   */
  
  import java.io.File;
  import jdk.test.lib.cds.CDSAppTester;
  import jdk.test.lib.helpers.ClassFileInstaller;
  import jdk.test.lib.Platform;
  import jdk.test.lib.process.OutputAnalyzer;
--- 21,35 ---
   * questions.
   *
   */
  
  /*
!  * @test id=aot
!  * @summary Use special characters in the name of the cache file specified by -XX:AOTCacheOutput.
   *          Make sure these characters are passed to the child JVM process that assembles the cache.
   * @requires vm.cds.supports.aot.class.linking
   * @comment work around JDK-8345635
   * @requires !vm.jvmci.enabled
   * @library /test/lib
   * @build SpecialCacheNames
   * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar MyTestApp
   * @run driver SpecialCacheNames AOT --one-step-training
   */
  
+ /*
+  * @test id=leyden
+  * @summary Use special characters in the name of the cache file specified by -XX:CacheDataStore.
+  *          Make sure these characters are passed to the child JVM process that assembles the cache.
+  * @requires vm.cds.supports.aot.class.linking
+  * @comment work around JDK-8345635
+  * @requires !vm.jvmci.enabled
+  * @library /test/lib
+  * @build SpecialCacheNames
+  * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar MyTestApp
+  * @run driver SpecialCacheNames LEYDEN
+  */
+ 
  import java.io.File;
  import jdk.test.lib.cds.CDSAppTester;
  import jdk.test.lib.helpers.ClassFileInstaller;
  import jdk.test.lib.Platform;
  import jdk.test.lib.process.OutputAnalyzer;
< prev index next >