changeset 52375:a39d9d4ab891

8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent) Reviewed-by: dholmes, iklam
author shade
date Wed, 31 Oct 2018 19:00:59 +0100
parents 896e80158d35
children 0caa36de8703
files src/hotspot/share/prims/jvmtiExport.hpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,