hotspot/src/share/vm/ci/ciInstanceKlass.cpp
changeset 7125 f088bb3df36d
parent 6772 2563324665d5
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/ci/ciInstanceKlass.cpp	Tue Nov 09 15:12:15 2010 -0800
+++ b/hotspot/src/share/vm/ci/ciInstanceKlass.cpp	Tue Nov 09 17:31:18 2010 -0800
@@ -564,7 +564,7 @@
 // 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];