diff --git a/src/hotspot/share/prims/jvmtiAgent.hpp b/src/hotspot/share/prims/jvmtiAgent.hpp index 6eb646ee2d4..9baf6698868 100644 --- a/src/hotspot/share/prims/jvmtiAgent.hpp +++ b/src/hotspot/share/prims/jvmtiAgent.hpp @@ -62,7 +62,7 @@ class JvmtiAgent : public CHeapObj { const char* options() const; bool is_absolute_path() const NOT_JVMTI_RETURN_(false); void* os_lib() const NOT_JVMTI_RETURN_(nullptr); - void set_os_lib(void* os_lib); + void set_os_lib(void* os_lib) NOT_JVMTI_RETURN; const char* os_lib_path() const; void set_os_lib_path(const char* path) NOT_JVMTI_RETURN; bool is_static_lib() const NOT_JVMTI_RETURN_(false);