test/lib/jdk/test/lib/Platform.java
changeset 51659 ca3003390cf0
parent 51637 e9177e7749e7
child 52030 57862a02bf4b
--- a/test/lib/jdk/test/lib/Platform.java	Thu Sep 06 05:44:47 2018 -0700
+++ b/test/lib/jdk/test/lib/Platform.java	Thu Sep 06 09:30:47 2018 -0700
@@ -329,10 +329,6 @@
      * This should match the #if condition in ClassListParser::load_class_from_source().
      */
     public static boolean areCustomLoadersSupportedForCDS() {
-        boolean isLinux = Platform.isLinux();
-        boolean is64 = Platform.is64bit();
-        boolean isSolaris = Platform.isSolaris();
-
-        return (is64 && (isLinux || isSolaris));
+        return (is64bit() && (isLinux() || isSolaris() || isOSX()));
     }
 }