hotspot/src/share/vm/runtime/reflection.cpp
changeset 26412 80741eb33ba2
parent 25057 f38210f84f8c
child 27022 2db6fe33afc2
--- a/hotspot/src/share/vm/runtime/reflection.cpp	Wed Aug 27 10:42:28 2014 -0700
+++ b/hotspot/src/share/vm/runtime/reflection.cpp	Thu Aug 28 11:29:09 2014 -0400
@@ -390,7 +390,7 @@
     return NULL;
   }
 
-  oop result = ArrayKlass::cast(klass)->component_mirror();
+  oop result = java_lang_Class::component_mirror(mirror);
 #ifdef ASSERT
   oop result2 = NULL;
   if (ArrayKlass::cast(klass)->dimension() == 1) {