mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -329,8 +329,8 @@ typedef PaddedEnd<ObjectMonitor> PaddedObjectMonitor;
|
|||
nonstatic_field(ObjArrayKlass, _bottom_klass, Klass*) \
|
||||
volatile_nonstatic_field(Symbol, _length_and_refcount, unsigned int) \
|
||||
nonstatic_field(Symbol, _identity_hash, short) \
|
||||
unchecked_nonstatic_field(Symbol, _body, sizeof(jbyte)) /* NOTE: no type */ \
|
||||
nonstatic_field(Symbol, _body[0], jbyte) \
|
||||
unchecked_nonstatic_field(Symbol, _body, sizeof(u1)) /* NOTE: no type */ \
|
||||
nonstatic_field(Symbol, _body[0], u1) \
|
||||
nonstatic_field(TypeArrayKlass, _max_length, jint) \
|
||||
\
|
||||
/***********************/ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue