< prev index next >

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

Print this page
*** 60,12 ***
  public class ExcludedClasses {
      static final String appJar = ClassFileInstaller.getJarPath("app.jar");
      static final String mainClass = "TestApp";
  
      public static void main(String[] args) throws Exception {
!         Tester tester = new Tester();
!         tester.runAOTWorkflow();
      }
  
      static class Tester extends CDSAppTester {
          public Tester() {
              super(mainClass);
--- 60,18 ---
  public class ExcludedClasses {
      static final String appJar = ClassFileInstaller.getJarPath("app.jar");
      static final String mainClass = "TestApp";
  
      public static void main(String[] args) throws Exception {
!         {
!           Tester tester = new Tester();
+           tester.run(new String[] {"AOT"} );
+         }
+         {
+           Tester tester = new Tester();
+           tester.run(new String[] {"LEYDEN"} );
+         }
      }
  
      static class Tester extends CDSAppTester {
          public Tester() {
              super(mainClass);
< prev index next >