--- a/hotspot/src/share/vm/prims/unsafe.cpp Fri Sep 28 14:36:20 2012 -0700
+++ b/hotspot/src/share/vm/prims/unsafe.cpp Sat Sep 29 06:40:00 2012 -0400
@@ -802,7 +802,7 @@
base = arrayOopDesc::base_offset_in_bytes(T_OBJECT);
scale = heapOopSize;
} else if (k->oop_is_typeArray()) {
- typeArrayKlass* tak = typeArrayKlass::cast(k);
+ TypeArrayKlass* tak = TypeArrayKlass::cast(k);
base = tak->array_header_in_bytes();
assert(base == arrayOopDesc::base_offset_in_bytes(tak->element_type()), "array_header_size semantics ok");
scale = (1 << tak->log2_element_size());