--- a/hotspot/src/share/vm/interpreter/linkResolver.hpp Thu Oct 08 10:25:45 2015 +0000
+++ b/hotspot/src/share/vm/interpreter/linkResolver.hpp Thu Oct 08 12:49:30 2015 -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.