changeset 13381:9c7e66dada8d

Merge
author hseigel
date Tue, 25 Jul 2017 19:25:02 +0000
parents e5258343af9c 6dc75501e8da
children 7ae3e5da7a49
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/classfile/loaderConstraints.cpp	Tue Jul 25 16:26:35 2017 +0000
+++ b/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;