mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8232624: Java cannot start: NewStringPlatform missing
Reviewed-by: dholmes, alanb, redestad
This commit is contained in:
parent
c483fbe6d6
commit
16f3919405
3 changed files with 11 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue