hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 4094 1f424b2b2171
parent 3912 3aaaaad1ccb0
child 4429 d7eb4e2099aa
child 4445 1356c4b003de
child 5121 5e80657d23e7
equal deleted inserted replaced
4093:56d7f1c2102c 4094:1f424b2b2171
  1961 
  1961 
  1962   WKID meth_group_start = WK_KLASS_ENUM_NAME(MethodHandle_klass);
  1962   WKID meth_group_start = WK_KLASS_ENUM_NAME(MethodHandle_klass);
  1963   WKID meth_group_end   = WK_KLASS_ENUM_NAME(WrongMethodTypeException_klass);
  1963   WKID meth_group_end   = WK_KLASS_ENUM_NAME(WrongMethodTypeException_klass);
  1964   initialize_wk_klasses_until(meth_group_start, scan, CHECK);
  1964   initialize_wk_klasses_until(meth_group_start, scan, CHECK);
  1965   if (EnableMethodHandles) {
  1965   if (EnableMethodHandles) {
  1966     initialize_wk_klasses_through(meth_group_start, scan, CHECK);
  1966     initialize_wk_klasses_through(meth_group_end, scan, CHECK);
  1967   }
  1967   }
  1968   if (_well_known_klasses[meth_group_start] == NULL) {
  1968   if (_well_known_klasses[meth_group_start] == NULL) {
  1969     // Skip the rest of the method handle classes, if MethodHandle is not loaded.
  1969     // Skip the rest of the method handle classes, if MethodHandle is not loaded.
  1970     scan = WKID(meth_group_end+1);
  1970     scan = WKID(meth_group_end+1);
  1971   }
  1971   }