--- old/src/share/vm/runtime/reflection.cpp 2015-10-14 13:54:37.130335452 +0200 +++ new/src/share/vm/runtime/reflection.cpp 2015-10-14 13:54:37.043337556 +0200 @@ -405,7 +405,7 @@ assert(lower_dim->oop_is_array(), "just checking"); result2 = lower_dim->java_mirror(); } - assert(result == result2, "results must be consistent"); + assert(oopDesc::bs()->read_barrier(result) == oopDesc::bs()->read_barrier(result2), "results must be consistent"); #endif //ASSERT return result; }