From a08d67c2a9d0bbc6f38c6280efd19b60303eb5e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Gr=C3=B6nlund?= Date: Wed, 13 Nov 2024 14:19:20 +0000 Subject: [PATCH] 8344080: Return type mismatch for jfr_unregister_stack_filter Reviewed-by: tschatzl, kbarrett --- src/hotspot/share/jfr/jni/jfrJniMethod.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/jfr/jni/jfrJniMethod.hpp b/src/hotspot/share/jfr/jni/jfrJniMethod.hpp index 680e6bee1ee68..ece4425782dae 100644 --- a/src/hotspot/share/jfr/jni/jfrJniMethod.hpp +++ b/src/hotspot/share/jfr/jni/jfrJniMethod.hpp @@ -163,7 +163,7 @@ void JNICALL jfr_emit_data_loss(JNIEnv* env, jclass jvm, jlong bytes); jlong JNICALL jfr_register_stack_filter(JNIEnv* env, jclass jvm, jobjectArray classes, jobjectArray methods); -jlong JNICALL jfr_unregister_stack_filter(JNIEnv* env, jclass jvm, jlong id); +void JNICALL jfr_unregister_stack_filter(JNIEnv* env, jclass jvm, jlong id); jlong JNICALL jfr_nanos_now(JNIEnv* env, jclass jvm);