8232624: Java cannot start: NewStringPlatform missing

Reviewed-by: dholmes, alanb, redestad
This commit is contained in:
Alexey Ivanov 2019-10-21 21:36:26 +01:00
parent c483fbe6d6
commit 16f3919405
3 changed files with 11 additions and 1 deletions

View file

@ -791,6 +791,13 @@ InitializeEncoding(JNIEnv *env, const char *encname)
CHECK_NULL(String_value_ID);
}
// This alias is used for compatibility with 32 bit Windows
JNIEXPORT jstring
NewStringPlatform(JNIEnv *env, const char *str)
{
return JNU_NewStringPlatform(env, str);
}
JNIEXPORT jstring JNICALL
JNU_NewStringPlatform(JNIEnv *env, const char *str)
{