--- old/src/hotspot/share/prims/jvmtiExport.hpp 2018-10-21 22:34:19.164950842 -0700 +++ new/src/hotspot/share/prims/jvmtiExport.hpp 2018-10-21 22:34:18.648931154 -0700 @@ -328,6 +328,7 @@ JVMTI_ONLY(return _should_post_class_file_load_hook); NOT_JVMTI(return false;) } + static bool early_class_hook_env(); // 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,