src/jdk/internal/dynalink/DefaultBootstrapper.java

changeset 962
ac62e33a99b0
parent 524
badc919cd621
child 1205
4112748288bb
     1.1 --- a/src/jdk/internal/dynalink/DefaultBootstrapper.java	Tue Aug 19 20:43:03 2014 +0100
     1.2 +++ b/src/jdk/internal/dynalink/DefaultBootstrapper.java	Wed Aug 20 10:25:28 2014 +0200
     1.3 @@ -117,7 +117,7 @@
     1.4       * @param type the method signature at the call site
     1.5       * @return a new {@link MonomorphicCallSite} linked with the default dynamic linker.
     1.6       */
     1.7 -    public static CallSite bootstrap(MethodHandles.Lookup caller, String name, MethodType type) {
     1.8 +    public static CallSite bootstrap(final MethodHandles.Lookup caller, final String name, final MethodType type) {
     1.9          return bootstrapInternal(caller, name, type);
    1.10      }
    1.11  
    1.12 @@ -133,11 +133,11 @@
    1.13       * @param type the method signature at the call site
    1.14       * @return a new {@link MonomorphicCallSite} linked with the default dynamic linker.
    1.15       */
    1.16 -    public static CallSite publicBootstrap(MethodHandles.Lookup caller, String name, MethodType type) {
    1.17 +    public static CallSite publicBootstrap(final MethodHandles.Lookup caller, final String name, final MethodType type) {
    1.18          return bootstrapInternal(MethodHandles.publicLookup(), name, type);
    1.19      }
    1.20  
    1.21 -    private static CallSite bootstrapInternal(MethodHandles.Lookup caller, String name, MethodType type) {
    1.22 +    private static CallSite bootstrapInternal(final MethodHandles.Lookup caller, final String name, final MethodType type) {
    1.23          return dynamicLinker.link(new MonomorphicCallSite(CallSiteDescriptorFactory.create(caller, name, type)));
    1.24      }
    1.25  }

mercurial