< prev index next >

src/share/vm/utilities/exceptions.cpp

Print this page

        

@@ -45,11 +45,11 @@
   if (offset1 != offset2) fatal("ThreadShadow::_pending_exception is not positioned correctly");
 }
 
 
 void ThreadShadow::set_pending_exception(oop exception, const char* file, int line) {
-  assert(exception != NULL && exception->is_oop(), "invalid exception oop");
+  assert(exception != NULL && oopDesc::is_oop(exception), "invalid exception oop");
   _pending_exception = exception;
   _exception_file    = file;
   _exception_line    = line;
 }
 
< prev index next >