--- 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,