changeset 53184:2843104787a7 lworld

[lworld] Wrong use of is_Q_signature prevents value klass pre-loading
author thartmann
date Mon, 17 Dec 2018 16:39:06 +0100
parents a0ee83b59f56
children 127ed6c19242
files src/hotspot/share/oops/instanceKlass.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/oops/instanceKlass.cpp	Fri Dec 14 11:50:21 2018 -0800
+++ b/src/hotspot/share/oops/instanceKlass.cpp	Mon Dec 17 16:39:06 2018 +0100
@@ -861,7 +861,7 @@
             symb = SymbolTable::lookup(sig->as_C_string() + i + 1,
                                        sig->utf8_length() - 3, CHECK_false);
           }
-          if (symb->is_Q_signature()) {
+          if (ss.type() == T_VALUETYPE) {
             oop loader = class_loader();
             oop protection_domain = this->protection_domain();
             Klass* klass = SystemDictionary::resolve_or_fail(symb,