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:
Coleen Phillimore 2008-01-17 13:38:17 -08:00
parent 1bfa153ebe
commit 218615259d
3 changed files with 35 additions and 2 deletions

View file

@ -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);