mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8209138: Symbol constructor uses u1 as the element type of its name argument
Maske u1 the type for Symbol values and add a function to return it as a char. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
a3cd6a1a70
commit
221005a3d4
28 changed files with 120 additions and 116 deletions
|
@ -466,7 +466,7 @@ ciKlass* ciObjectFactory::get_unloaded_klass(ciKlass* accessing_klass,
|
|||
|
||||
// Two cases: this is an unloaded ObjArrayKlass or an
|
||||
// unloaded InstanceKlass. Deal with both.
|
||||
if (name->byte_at(0) == '[') {
|
||||
if (name->char_at(0) == '[') {
|
||||
// Decompose the name.'
|
||||
FieldArrayInfo fd;
|
||||
BasicType element_type = FieldType::get_array_info(name->get_symbol(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue