From 1e24d80d24124e0098f975cfcd8d992e49cdd75e Mon Sep 17 00:00:00 2001 From: Johan Vos Date: Mon, 2 Sep 2024 14:21:09 +0200 Subject: [PATCH] Add implementation for JVM_IsContainerized which is needed after JDK-8261242 --- src/JvmFuncs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/JvmFuncs.c b/src/JvmFuncs.c index 9b1bc4f..f596e30 100644 --- a/src/JvmFuncs.c +++ b/src/JvmFuncs.c @@ -382,6 +382,10 @@ int jio_vsnprintf(char *str, size_t count, const char *fmt, va_list args) { return result; } +JNIEXPORT jboolean JVM_IsContainerized(void *env, void * ignored) { + return JNI_FALSE; +} + #if 0 #ifdef JNI_VERSION_9 /*