< prev index next >

test/hotspot/jtreg/runtime/appcds/ProhibitedPackage.java

Print this page
rev 48002 : imported patch 8188791-open-appcds.v02.patch
rev 48005 : Tests addon for 8188791 which enables AppCDS / CustomClassLoader tests on all 64-bit Linux and Solaris platforms

@@ -43,13 +43,13 @@
     public static void main(String[] args) throws Exception {
         JarBuilder.build("prohibited_pkg", "java/lang/Prohibited", "ProhibitedHelper");
 
         String appJar = TestCommon.getTestJar("prohibited_pkg.jar");
 
-        // AppCDS for custom loader is only supported on linux-x64 and
-        // Solaris 64-bit platforms.
-        if ((Platform.isLinux() || Platform.isSolaris()) &&
+        // AppCDS for custom loader is only supported on 64-bit Linux,
+        // Solaris and AIX platforms.
+        if ((Platform.isLinux() || Platform.isSolaris() || Platform.isAix()) &&
             Platform.is64bit()) {
             String classlist[] = new String[] {
                 "java/lang/Object id: 1",
                 "java/lang/Prohibited id: 2 super: 1 source: " + appJar
             };
< prev index next >