< prev index next >

src/share/vm/prims/privilegedStack.cpp

Print this page

        

@@ -37,12 +37,12 @@
 #ifdef CHECK_UNHANDLED_OOPS
   THREAD->allow_unhandled_oop(&_privileged_context);
 #endif // CHECK_UNHANDLED_OOPS
   _frame_id             = vfst->frame_id();
   _next                 = next;
-  assert(_privileged_context == NULL || _privileged_context->is_oop(), "must be an oop");
-  assert(protection_domain() == NULL || protection_domain()->is_oop(), "must be an oop");
+  assert(_privileged_context == NULL || oopDesc::is_oop(_privileged_context), "must be an oop");
+  assert(protection_domain() == NULL || oopDesc::is_oop(protection_domain()), "must be an oop");
 }
 
 void PrivilegedElement::oops_do(OopClosure* f) {
   PrivilegedElement *cur = this;
   do {
< prev index next >