--- a/hotspot/src/share/vm/oops/objArrayKlass.hpp Tue May 21 19:52:01 2013 -0700
+++ b/hotspot/src/share/vm/oops/objArrayKlass.hpp Wed May 22 14:37:49 2013 -0400
@@ -75,7 +75,7 @@
void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
// Compute protection domain
- oop protection_domain() { return bottom_klass()->protection_domain(); }
+ oop protection_domain() const { return bottom_klass()->protection_domain(); }
private:
// Either oop or narrowOop depending on UseCompressedOops.