--- old/src/hotspot/share/ci/ciConstant.hpp 2019-03-11 14:25:19.238355804 +0100 +++ new/src/hotspot/share/ci/ciConstant.hpp 2019-03-11 14:25:19.042355807 +0100 @@ -106,7 +106,7 @@ return _value._double; } ciObject* as_object() const { - assert(basic_type() == T_OBJECT || basic_type() == T_ARRAY, "wrong type"); + assert(basic_type() == T_OBJECT || basic_type() == T_ARRAY || basic_type() == T_VALUETYPE, "wrong type"); return _value._object; }