src/hotspot/share/classfile/classListParser.cpp
changeset 49931 840e26123940
parent 49480 d7df2dd501ce
child 50039 9fec54fe663d
--- a/src/hotspot/share/classfile/classListParser.cpp	Mon Apr 30 13:40:39 2018 -0700
+++ b/src/hotspot/share/classfile/classListParser.cpp	Mon Apr 30 16:59:05 2018 -0400
@@ -283,7 +283,6 @@
   error("AppCDS custom class loaders not supported on this platform");
 #endif
 
-  assert(UseAppCDS, "must be");
   if (!is_super_specified()) {
     error("If source location is specified, super class must be also specified");
   }
@@ -383,9 +382,7 @@
   } else {
     // If "source:" tag is specified, all super class and super interfaces must be specified in the
     // class list file.
-    if (UseAppCDS) {
-      klass = load_class_from_source(class_name_symbol, CHECK_NULL);
-    }
+    klass = load_class_from_source(class_name_symbol, CHECK_NULL);
   }
 
   if (klass != NULL && klass->is_instance_klass() && is_id_specified()) {