diff -r d0e0d6d824d8 -r c96bf21b756f src/share/vm/opto/parse2.cpp --- a/src/share/vm/opto/parse2.cpp Fri May 08 10:34:31 2009 -0700 +++ b/src/share/vm/opto/parse2.cpp Fri May 08 10:44:20 2009 -0700 @@ -2052,7 +2052,7 @@ // null exception oop throws NULL pointer exception do_null_check(peek(), T_OBJECT); if (stopped()) return; - if (JvmtiExport::can_post_exceptions()) { + if (env()->jvmti_can_post_exceptions()) { // "Full-speed throwing" is not necessary here, // since we're notifying the VM on every throw. uncommon_trap(Deoptimization::Reason_unhandled,