< prev index next >

src/hotspot/share/prims/universalUpcallHandler.cpp

Print this page
@@ -172,10 +172,11 @@
      "Could not find upcall method: %s.%s%s", upcall_method.klass->external_name(),
      upcall_method.name->as_C_string(), upcall_method.sig->as_C_string());
  }
  
  void ProgrammableUpcallHandler::handle_uncaught_exception(oop exception) {
+   ResourceMark rm;
    // Based on CATCH macro
    tty->print_cr("Uncaught exception:");
    exception->print();
    ShouldNotReachHere();
  }
< prev index next >