8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent)
authorshade
Wed, 31 Oct 2018 19:00:59 +0100
changeset 52354 a39d9d4ab891
parent 52353 896e80158d35
child 52355 0caa36de8703
8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent) Reviewed-by: dholmes, iklam
src/hotspot/share/prims/jvmtiExport.hpp
--- a/src/hotspot/share/prims/jvmtiExport.hpp	Wed Oct 31 16:02:43 2018 +0100
+++ b/src/hotspot/share/prims/jvmtiExport.hpp	Wed Oct 31 19:00:59 2018 +0100
@@ -328,8 +328,8 @@
     JVMTI_ONLY(return _should_post_class_file_load_hook);
     NOT_JVMTI(return false;)
   }
-  static bool is_early_phase();
-  static bool has_early_class_hook_env();
+  static bool is_early_phase() NOT_JVMTI_RETURN_(false);
+  static bool has_early_class_hook_env() NOT_JVMTI_RETURN_(false);
   // Return true if the class was modified by the hook.
   static bool post_class_file_load_hook(Symbol* h_name, Handle class_loader,
                                         Handle h_protection_domain,