< prev index next > src/java.base/share/native/include/jni.h
Print this page
/*
- * Copyright (c) 1996, 2024, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 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. Oracle designates this
/* Large UTF8 Support */
jlong (JNICALL *GetStringUTFLengthAsLong)
(JNIEnv *env, jstring str);
+ /* Value classes */
+
+ jboolean (JNICALL *HasIdentity)
+ (JNIEnv* env, jobject obj);
+
};
/*
* We use inlined functions for C++ so that programmers can write:
*
jboolean IsVirtualThread(jobject obj) {
return functions->IsVirtualThread(this, obj);
}
+ /* Value classes */
+
+ jboolean HasIdentity(jobject obj) {
+ return functions->HasIdentity(this, obj);
+ }
+
#endif /* __cplusplus */
};
/*
* optionString may be any option accepted by the JVM, or one of the
#define JNI_VERSION_10 0x000a0000
#define JNI_VERSION_19 0x00130000
#define JNI_VERSION_20 0x00140000
#define JNI_VERSION_21 0x00150000
#define JNI_VERSION_24 0x00180000
+ #define JNI_VERSION_28 0x001C0000
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */
< prev index next >