We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb1a537 commit ab5b6a9Copy full SHA for ab5b6a9
src/hotspot/share/oops/generateOopMap.cpp
@@ -1879,7 +1879,7 @@ void GenerateOopMap::do_ldc(int bci) {
1879
constantTag tag = cp->tag_at(ldc.pool_index()); // idx is index in resolved_references
1880
BasicType bt = ldc.result_type();
1881
#ifdef ASSERT
1882
- BasicType tag_bt = tag.is_dynamic_constant() ? bt : tag.basic_type();
+ BasicType tag_bt = (tag.is_dynamic_constant() || tag.is_dynamic_constant_in_error()) ? bt : tag.basic_type();
1883
assert(bt == tag_bt, "same result");
1884
#endif
1885
CellTypeState cts;
0 commit comments