changeset 58735 | 24d411cb3a90 |
parent 58664 | e3618c902d17 |
child 58872 | ca70299778b9 |
--- a/src/hotspot/share/prims/jvm.cpp Tue Oct 22 11:32:19 2019 +0800 +++ b/src/hotspot/share/prims/jvm.cpp Tue Oct 22 08:57:41 2019 +0200 @@ -2308,7 +2308,7 @@ ConstantPool* cp = InstanceKlass::cast(k)->constants(); for (int index = cp->length() - 1; index >= 0; index--) { constantTag tag = cp->tag_at(index); - types[index] = (tag.is_unresolved_klass()) ? JVM_CONSTANT_Class : tag.value(); + types[index] = (tag.is_unresolved_klass()) ? (unsigned char) JVM_CONSTANT_Class : tag.value(); } } JVM_END