< prev index next >

src/hotspot/share/classfile/dictionary.cpp

Print this page
rev 48467 : [mq]: INIT_Access_protection_domain

@@ -165,11 +165,11 @@
     // Ensure this doesn't show up in the pd_set (invariant)
     bool in_pd_set = false;
     for (ProtectionDomainEntry* current = pd_set_acquire();
                                 current != NULL;
                                 current = current->next()) {
-      if (current->protection_domain() == protection_domain) {
+      if (current->object_no_keepalive() == protection_domain) {
         in_pd_set = true;
         break;
       }
     }
     if (in_pd_set) {

@@ -185,11 +185,11 @@
   }
 
   for (ProtectionDomainEntry* current = pd_set_acquire();
                               current != NULL;
                               current = current->next()) {
-    if (current->protection_domain() == protection_domain) return true;
+    if (current->object_no_keepalive() == protection_domain) return true;
   }
   return false;
 }
 
 
< prev index next >