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
|
@ -1242,7 +1242,9 @@ static instanceKlassHandle download_and_retry_class_load(
|
|||
oop obj = (oop) result.get_jobject();
|
||||
if (obj == NULL) { return nk; }
|
||||
|
||||
char* new_class_name = java_lang_String::as_utf8_string(obj);
|
||||
Handle h_obj(THREAD, obj);
|
||||
char* new_class_name = java_lang_String::as_platform_dependent_str(h_obj,
|
||||
CHECK_(nk));
|
||||
|
||||
// lock the loader
|
||||
// we use this lock because JVMTI does.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue