nashorn/src/jdk/internal/dynalink/beans/OverloadedDynamicMethod.java
changeset 19630 99f53f31008e
parent 18841 9bbc4b8832b2
child 24719 f726e9d67629
equal deleted inserted replaced
19627:90d910ec15a3 19630:99f53f31008e
   146                         + paramTypes + " for method " + getName());
   146                         + paramTypes + " for method " + getName());
   147             }
   147             }
   148         }
   148         }
   149     }
   149     }
   150 
   150 
       
   151     @SuppressWarnings("fallthrough")
   151     @Override
   152     @Override
   152     public MethodHandle getInvocation(final CallSiteDescriptor callSiteDescriptor, final LinkerServices linkerServices) {
   153     public MethodHandle getInvocation(final CallSiteDescriptor callSiteDescriptor, final LinkerServices linkerServices) {
   153         final MethodType callSiteType = callSiteDescriptor.getMethodType();
   154         final MethodType callSiteType = callSiteDescriptor.getMethodType();
   154         // First, find all methods applicable to the call site by subtyping (JLS 15.12.2.2)
   155         // First, find all methods applicable to the call site by subtyping (JLS 15.12.2.2)
   155         final ApplicableOverloadedMethods subtypingApplicables = getApplicables(callSiteType,
   156         final ApplicableOverloadedMethods subtypingApplicables = getApplicables(callSiteType,