Merge
authorhseigel
Tue, 25 Jul 2017 19:25:02 +0000
changeset 46717 16ad138ebfb4
parent 46715 87a18a3061cf (current diff)
parent 46716 53915543333d (diff)
child 46718 1fd6f7bc17c9
Merge
--- a/hotspot/src/share/vm/classfile/loaderConstraints.cpp	Tue Jul 25 16:26:35 2017 +0000
+++ b/hotspot/src/share/vm/classfile/loaderConstraints.cpp	Tue Jul 25 19:25:02 2017 +0000
@@ -315,7 +315,7 @@
   LoaderConstraintEntry *p = *(find_loader_constraint(name, loader));
   if (p != NULL && p->klass() != NULL) {
     assert(p->klass()->is_instance_klass(), "sanity");
-    if (p->klass()->is_loaded()) {
+    if (!p->klass()->is_loaded()) {
       // Only return fully loaded classes.  Classes found through the
       // constraints might still be in the process of loading.
       return NULL;