< 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 *IsValueObject)
+ (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 IsValueObject(jobject obj) {
+ return functions->IsValueObject(this, obj);
+ }
+
#endif /* __cplusplus */
};
/*
* optionString may be any option accepted by the JVM, or one of the
< prev index next >