hotspot/src/share/vm/classfile/javaClasses.cpp
changeset 30238 4cb81d03d19f
parent 30107 e3d259b825a1
child 30289 10b7b61d759a
--- a/hotspot/src/share/vm/classfile/javaClasses.cpp	Fri Apr 10 15:18:45 2015 +0000
+++ b/hotspot/src/share/vm/classfile/javaClasses.cpp	Mon Apr 13 23:04:02 2015 -0700
@@ -126,7 +126,7 @@
       tty->print_cr("  name: %s, sig: %s, flags: %08x", fs.name()->as_C_string(), fs.signature()->as_C_string(), fs.access_flags().as_int());
     }
 #endif //PRODUCT
-    fatal("Invalid layout of preloaded class");
+    vm_exit_during_initialization("Invalid layout of preloaded class: use -XX:+TraceClassLoading to see the origin of the problem class");
   }
   dest_offset = fd.offset();
 }
@@ -3626,7 +3626,7 @@
     tty->print_cr("  name: %s, sig: %s, flags: %08x", fs.name()->as_C_string(), fs.signature()->as_C_string(), fs.access_flags().as_int());
   }
 #endif //PRODUCT
-  fatal("Invalid layout of preloaded class");
+  vm_exit_during_initialization("Invalid layout of preloaded class: use -XX:+TraceClassLoading to see the origin of the problem class");
   return -1;
 }