mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8232724: Remove indirection with calling JNU_NewStringPlatform
Reviewed-by: dholmes, clanger
This commit is contained in:
parent
c786ef3418
commit
c7acea028c
4 changed files with 11 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2019, 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
|
||||
|
@ -791,13 +791,6 @@ 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