diff -r ed1974940ff4 -r 2ff5d7041566 nashorn/src/jdk/internal/dynalink/MonomorphicCallSite.java --- a/nashorn/src/jdk/internal/dynalink/MonomorphicCallSite.java Wed Jun 04 13:55:21 2014 +0530 +++ b/nashorn/src/jdk/internal/dynalink/MonomorphicCallSite.java Wed Jun 04 13:08:57 2014 +0200 @@ -99,17 +99,17 @@ * Creates a new call site with monomorphic inline caching strategy. * @param descriptor the descriptor for this call site */ - public MonomorphicCallSite(CallSiteDescriptor descriptor) { + public MonomorphicCallSite(final CallSiteDescriptor descriptor) { super(descriptor); } @Override - public void relink(GuardedInvocation guardedInvocation, MethodHandle relink) { + public void relink(final GuardedInvocation guardedInvocation, final MethodHandle relink) { setTarget(guardedInvocation.compose(relink)); } @Override - public void resetAndRelink(GuardedInvocation guardedInvocation, MethodHandle relink) { + public void resetAndRelink(final GuardedInvocation guardedInvocation, final MethodHandle relink) { relink(guardedInvocation, relink); } }