--- a/hotspot/src/share/vm/classfile/systemDictionary.cpp Fri Oct 16 16:14:12 2009 -0700
+++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp Sat Oct 17 19:51:05 2009 -0700
@@ -1963,7 +1963,7 @@
WKID meth_group_end = WK_KLASS_ENUM_NAME(WrongMethodTypeException_klass);
initialize_wk_klasses_until(meth_group_start, scan, CHECK);
if (EnableMethodHandles) {
- initialize_wk_klasses_through(meth_group_start, scan, CHECK);
+ initialize_wk_klasses_through(meth_group_end, scan, CHECK);
}
if (_well_known_klasses[meth_group_start] == NULL) {
// Skip the rest of the method handle classes, if MethodHandle is not loaded.