--- a/hotspot/src/share/vm/ci/ciMethod.cpp Wed Nov 18 22:00:09 2015 +0000
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp Thu Nov 19 10:34:11 2015 -0800
@@ -786,8 +786,7 @@
Symbol* h_name = name()->get_symbol();
Symbol* h_signature = signature()->get_symbol();
- LinkInfo link_info(h_resolved, h_name, h_signature, caller_klass,
- check_access ? LinkInfo::needs_access_check : LinkInfo::skip_access_check);
+ LinkInfo link_info(h_resolved, h_name, h_signature, caller_klass, check_access);
methodHandle m;
// Only do exact lookup if receiver klass has been linked. Otherwise,
// the vtable has not been setup, and the LinkResolver will fail.