src/share/vm/classfile/loaderConstraints.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File

## src/share/vm/classfile/loaderConstraints.cpp

Print this page

    *** 439,450 ****
              InstanceKlass* ik = InstanceKlass::cast(probe->klass());
              guarantee(ik->name() == probe->name(), "name should match");
              Symbol* name = ik->name();
              ClassLoaderData* loader_data = ik->class_loader_data();
              unsigned int d_hash = dictionary->compute_hash(name, loader_data);
    !         int d_index = dictionary->hash_to_index(d_hash);
    !         Klass* k = dictionary->find_class(d_index, d_hash, name, loader_data);
              if (k != NULL) {
                // We found the class in the system dictionary, so we should
                // make sure that the Klass* matches what we already have.
                guarantee(k == probe->klass(), "klass should be in dictionary");
              } else {
    --- 439,449 ----
              InstanceKlass* ik = InstanceKlass::cast(probe->klass());
              guarantee(ik->name() == probe->name(), "name should match");
              Symbol* name = ik->name();
              ClassLoaderData* loader_data = ik->class_loader_data();
              unsigned int d_hash = dictionary->compute_hash(name, loader_data);
    !         Klass* k = dictionary->find_class(d_hash, name, loader_data);
              if (k != NULL) {
                // We found the class in the system dictionary, so we should
                // make sure that the Klass* matches what we already have.
                guarantee(k == probe->klass(), "klass should be in dictionary");
              } else {

src/share/vm/classfile/loaderConstraints.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File