--- old/src/share/vm/opto/macro.cpp 2016-11-16 09:06:12.562498591 +0100 +++ new/src/share/vm/opto/macro.cpp 2016-11-16 09:06:12.494498589 +0100 @@ -851,6 +851,7 @@ offset = field->offset(); elem_type = field->type(); basic_elem_type = field->layout_type(); + assert(basic_elem_type != T_VALUETYPE, "value type fields are flattened"); } else { offset = array_base + j * (intptr_t)element_size; }