< prev index next > src/hotspot/share/prims/jniCheck.cpp
Print this page
/*
- * Copyright (c) 2001, 2025, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
jboolean result = UNCHECKED()->IsVirtualThread(env, obj);
functionExit(thr);
return result;
JNI_END
+ JNI_ENTRY_CHECKED(jboolean,
+ checked_jni_IsValueObject(JNIEnv *env,
+ jobject obj))
+ functionEnter(thr);
+ jboolean result = UNCHECKED()->IsValueObject(env, obj);
+ functionExit(thr);
+ return result;
+ JNI_END
+
/*
* Structure containing all checked jni functions
*/
struct JNINativeInterface_ checked_jni_NativeInterface = {
nullptr,
checked_jni_IsVirtualThread,
// Large UTF8 support
- checked_jni_GetStringUTFLengthAsLong
+ checked_jni_GetStringUTFLengthAsLong,
+
+ // Value classes
+
+ checked_jni_IsValueObject
};
// Returns the function structure
< prev index next >