src/hotspot/share/runtime/reflection.cpp
changeset 49658 8237a91c1cca
parent 49480 d7df2dd501ce
child 49982 9042ffe5b7fe
--- a/src/hotspot/share/runtime/reflection.cpp	Tue Apr 03 10:27:46 2018 +0200
+++ b/src/hotspot/share/runtime/reflection.cpp	Tue Apr 03 13:15:27 2018 +0200
@@ -418,7 +418,7 @@
     assert(lower_dim->is_array_klass(), "just checking");
     result2 = lower_dim->java_mirror();
   }
-  assert(result == result2, "results must be consistent");
+  assert(oopDesc::equals(result, result2), "results must be consistent");
 #endif //ASSERT
   return result;
 }