| author | kvn |
| Tue Nov 09 17:31:18 2010 -0800 (2 years ago) | |
| changeset 2191 | b0e6879e48fa |
| parent 2190 | 2db84614f61d |
| child 2192 | 84d114b9170e |
| child 2209 | 0ac62b4d6507 |
--- a/src/share/vm/ci/ciInstanceKlass.cpp Tue Nov 09 15:12:15 2010 -0800+++ b/src/share/vm/ci/ciInstanceKlass.cpp Tue Nov 09 17:31:18 2010 -0800@@ -564,7 +564,7 @@ bool ciInstanceKlass::is_leaf_type() {// This is OK, since any dependencies we decide to assert// will be checked later under the Compile_lock.ciInstanceKlass* ciInstanceKlass::implementor(int n) {- if (n > implementors_limit) {+ if (n >= implementors_limit) {return NULL;}ciInstanceKlass* impl = _implementors[n];