test/hotspot/jtreg/runtime/appcds/customLoader/ClassListFormatE.java
changeset 54927 1512d88b24c6
parent 51990 6003e034cdd8
equal deleted inserted replaced
54926:d4e7ccaf1445 54927:1512d88b24c6
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 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.
    30  * @requires vm.cds.custom.loaders
    30  * @requires vm.cds.custom.loaders
    31  * @library /test/lib /test/hotspot/jtreg/runtime/appcds
    31  * @library /test/lib /test/hotspot/jtreg/runtime/appcds
    32  * @modules java.base/jdk.internal.misc
    32  * @modules java.base/jdk.internal.misc
    33  *          java.management
    33  *          java.management
    34  *          jdk.jartool/sun.tools.jar
    34  *          jdk.jartool/sun.tools.jar
    35  * @compile test-classes/Hello.java test-classes/CustomLoadee.java test-classes/CustomLoadee2.java
    35  * @compile ../test-classes/Hello.java test-classes/CustomLoadee.java test-classes/CustomLoadee2.java
    36  *          test-classes/CustomInterface2_ia.java test-classes/CustomInterface2_ib.java
    36  *          test-classes/CustomInterface2_ia.java test-classes/CustomInterface2_ib.java
    37  * @run driver ClassListFormatE
    37  * @run driver ClassListFormatE
    38  */
    38  */
    39 
    39 
    40 public class ClassListFormatE extends ClassListFormatBase {
    40 public class ClassListFormatE extends ClassListFormatBase {
   104                 "CustomLoadee2 id: 5 super: 4 interfaces: 2 3 source: " + customJarPath
   104                 "CustomLoadee2 id: 5 super: 4 interfaces: 2 3 source: " + customJarPath
   105             ),
   105             ),
   106             "The specified super class CustomLoadee (id 4) does not match actual super class java.lang.Object");
   106             "The specified super class CustomLoadee (id 4) does not match actual super class java.lang.Object");
   107     }
   107     }
   108 }
   108 }
   109