src/share/vm/ci/ciInstanceKlass.cpp

changeset 2279
b0e6879e48fa
parent 2201
d55217dc206f
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/ci/ciInstanceKlass.cpp	Tue Nov 09 15:12:15 2010 -0800
     1.2 +++ b/src/share/vm/ci/ciInstanceKlass.cpp	Tue Nov 09 17:31:18 2010 -0800
     1.3 @@ -564,7 +564,7 @@
     1.4  // This is OK, since any dependencies we decide to assert
     1.5  // will be checked later under the Compile_lock.
     1.6  ciInstanceKlass* ciInstanceKlass::implementor(int n) {
     1.7 -  if (n > implementors_limit) {
     1.8 +  if (n >= implementors_limit) {
     1.9      return NULL;
    1.10    }
    1.11    ciInstanceKlass* impl = _implementors[n];

mercurial