--- a/hotspot/src/share/vm/prims/jniCheck.cpp Fri Sep 28 14:36:20 2012 -0700
+++ b/hotspot/src/share/vm/prims/jniCheck.cpp Sat Sep 29 06:40:00 2012 -0400
@@ -290,7 +290,7 @@
if (elementType != -1) {
if (aOop->is_typeArray()) {
- BasicType array_type = typeArrayKlass::cast(aOop->klass())->element_type();
+ BasicType array_type = TypeArrayKlass::cast(aOop->klass())->element_type();
if (array_type != elementType)
ReportJNIFatalError(thr, fatal_element_type_mismatch);
} else if (aOop->is_objArray()) {