8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent)

Reviewed-by: dholmes, iklam
This commit is contained in:
Aleksey Shipilev 2018-10-31 19:00:59 +01:00
parent 28362bdd93
commit 307ba484e1

View File

@ -328,8 +328,8 @@ class JvmtiExport : public AllStatic {
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,