mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6646946: Kernel installation failed on Japanese and Chinese XP SP2 (VM part)
Convert strings from Download Manager into native encoding in the VM Reviewed-by: sbohne, never, phh, kamg, xlu
This commit is contained in:
parent
1bfa153ebe
commit
218615259d
3 changed files with 35 additions and 2 deletions
|
@ -96,6 +96,7 @@ class java_lang_String : AllStatic {
|
|||
// String converters
|
||||
static char* as_utf8_string(oop java_string);
|
||||
static char* as_utf8_string(oop java_string, int start, int len);
|
||||
static char* as_platform_dependent_str(Handle java_string, TRAPS);
|
||||
static jchar* as_unicode_string(oop java_string, int& length);
|
||||
|
||||
static bool equals(oop java_string, jchar* chars, int len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue