--- a/hotspot/src/share/vm/opto/callGenerator.cpp Tue Apr 14 18:03:43 2015 +0300
+++ b/hotspot/src/share/vm/opto/callGenerator.cpp Tue Apr 14 18:11:06 2015 +0300
@@ -876,7 +876,8 @@
// Parse::do_call())
target = C->optimize_virtual_call(caller, jvms->bci(), klass, klass,
target, receiver_type, is_virtual,
- call_does_dispatch, vtable_index); // out-parameters
+ call_does_dispatch, vtable_index, // out-parameters
+ /*check_access=*/false);
// We lack profiling at this call but type speculation may
// provide us with a type
speculative_receiver_type = (receiver_type != NULL) ? receiver_type->speculative_type() : NULL;