--- old/src/share/vm/interpreter/linkResolver.hpp 2015-10-08 07:24:09.000000000 -1000 +++ new/src/share/vm/interpreter/linkResolver.hpp 2015-10-08 07:24:08.000000000 -1000 @@ -174,9 +174,11 @@ static methodHandle lookup_polymorphic_method(const LinkInfo& link_info, Handle *appendix_result_or_null, Handle *method_type_result, TRAPS); + JVMCI_ONLY(public:) // Needed for CompilerToVM.resolveMethod() // Not Linktime so doesn't take LinkInfo static methodHandle lookup_instance_method_in_klasses ( KlassHandle klass, Symbol* name, Symbol* signature, TRAPS); + JVMCI_ONLY(private:) // Similar loader constraint checking functions that throw // LinkageError with descriptive message.