< prev index next >

src/hotspot/share/classfile/classListParser.cpp

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

@@ -269,13 +269,12 @@
 }
 
 // This function is used for loading classes for customized class loaders
 // during archive dumping.
 InstanceKlass* ClassListParser::load_class_from_source(Symbol* class_name, TRAPS) {
-#if !((defined(LINUX) && defined(X86) && defined(_LP64)) || \
-      (defined(SOLARIS) && defined(_LP64)))
-  // The only supported platforms are: (1) Linux/AMD64; (2) Solaris/64-bit
+#if !(defined(_LP64) && (defined(LINUX)|| defined(SOLARIS) || defined(AIX)))
+  // The only supported platforms are: (1) Linux/64-bit; (2) Solaris/64-bit; (3) AIX/64-bit
   error("AppCDS custom class loaders not supported on this platform");
 #endif
 
   assert(UseAppCDS, "must be");
   if (!is_super_specified()) {
< prev index next >