8201246: Export native function to set platform encoding
Reviewed-by: rriggs
This commit is contained in:
parent
c40af49970
commit
0eff8e94f0
src/java.base/share/native/libjava
@ -774,8 +774,10 @@ newStringUTF8(JNIEnv *env, const char *str)
|
||||
return newSizedStringJava(env, str, len);
|
||||
}
|
||||
|
||||
/* Initialize the fast encoding from the encoding name. */
|
||||
void
|
||||
/* Initialize the fast encoding from the encoding name.
|
||||
* Export InitializeEncoding so that the VM can initialize it if required.
|
||||
*/
|
||||
JNIEXPORT void
|
||||
InitializeEncoding(JNIEnv *env, const char *encname)
|
||||
{
|
||||
jclass strClazz = NULL;
|
||||
|
@ -388,7 +388,7 @@ enum {
|
||||
|
||||
int getFastEncoding();
|
||||
|
||||
void InitializeEncoding(JNIEnv *env, const char *name);
|
||||
JNIEXPORT void InitializeEncoding(JNIEnv *env, const char *name);
|
||||
|
||||
void* getProcessHandle();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user