test/hotspot/jtreg/runtime/appcds/jvmti/transformRelatedClasses/TransformRelatedClassesAppCDS.java
changeset 54927 1512d88b24c6
parent 51507 3e3764f8fe36
equal deleted inserted replaced
54926:d4e7ccaf1445 54927:1512d88b24c6
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   152             log("custom loader not supported for this platform" +
   152             log("custom loader not supported for this platform" +
   153                 " - skipping test case for custom loader");
   153                 " - skipping test case for custom loader");
   154             return;
   154             return;
   155         }
   155         }
   156 
   156 
       
   157         if (TestCommon.isDynamicArchive()) {
       
   158             log("custom loader class list not applicable to dynamic archive" +
       
   159                 " - skipping test case for custom loader");
       
   160             return;
       
   161         }
       
   162 
   157         String appClasses[] = {
   163         String appClasses[] = {
   158             "CustomLoaderApp",
   164             "CustomLoaderApp",
   159         };
   165         };
   160 
   166 
   161         String customClasses[] = { parent, child };
   167         String customClasses[] = { parent, child };