This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a345aa575 minor naming tweaks
0a345aa575 is described below

commit 0a345aa575c898ab1610e967a17c1593aad270db
Author: Paul King <[email protected]>
AuthorDate: Thu Jan 22 15:30:49 2026 +1000

    minor naming tweaks
---
 .../codehaus/groovy/vmplugin/v8/IndyInterface.java | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java 
b/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
index e3d9d8f5b1..24f702c94e 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
@@ -255,17 +255,17 @@ public class IndyInterface {
      * Makes a fallback method for an invalidated method selection
      */
     protected static MethodHandle makeFallBack(MutableCallSite mc, Class<?> 
sender, String name, int callID, MethodType type, boolean safeNavigation, 
boolean thisCall, boolean spreadCall) {
-        return makeBoothandle(mc, sender, name, callID, type, safeNavigation, 
thisCall, spreadCall, SELECT_METHOD_HANDLE_METHOD);
+        return makeBootHandle(mc, sender, name, callID, type, safeNavigation, 
thisCall, spreadCall, SELECT_METHOD_HANDLE_METHOD);
     }
 
     /**
-     * Makes an adapter method for method selection, i.e. get the cached 
methodhandle(fast path) or fallback
+     * Makes an adapter method for method selection, i.e. get the cached 
methodHandle(fast path) or fallback
      */
     private static MethodHandle makeAdapter(MutableCallSite mc, Class<?> 
sender, String name, int callID, MethodType type, boolean safeNavigation, 
boolean thisCall, boolean spreadCall) {
-        return makeBoothandle(mc, sender, name, callID, type, safeNavigation, 
thisCall, spreadCall, FROM_CACHE_HANDLE_METHOD);
+        return makeBootHandle(mc, sender, name, callID, type, safeNavigation, 
thisCall, spreadCall, FROM_CACHE_HANDLE_METHOD);
     }
 
-    private static MethodHandle makeBoothandle(MutableCallSite mc, Class<?> 
sender, String name, int callID, MethodType type, boolean safeNavigation, 
boolean thisCall, boolean spreadCall, MethodHandle handleReturningMh) {
+    private static MethodHandle makeBootHandle(MutableCallSite mc, Class<?> 
sender, String name, int callID, MethodType type, boolean safeNavigation, 
boolean thisCall, boolean spreadCall, MethodHandle handleReturningMh) {
         // Step 1: bind site-constant arguments (incl dummy receiver marker)
         MethodHandle fromCacheBound = MethodHandles.insertArguments(
             handleReturningMh,
@@ -276,18 +276,18 @@ public class IndyInterface {
         // fromCacheBound: (Object receiver, Object[] args) → MethodHandle
 
         // Step 2: fold into the shared invoker (MethodHandle, Object[]) → 
Object
-        MethodHandle boothandle = MethodHandles.foldArguments(
+        MethodHandle bootHandle = MethodHandles.foldArguments(
             CACHED_INVOKER, // (MethodHandle, Object[]) → Object
             fromCacheBound  // (Object, Object[]) → MethodHandle
         );
-        // boothandle: (Object receiver, Object[] args) → Object
+        // bootHandle: (Object receiver, Object[] args) → Object
 
         // Step 3: adapt to callsite type: collect all arguments into Object[] 
and then asType
-        boothandle = boothandle
+        bootHandle = bootHandle
             .asCollector(Object[].class, type.parameterCount())
             .asType(type);
 
-        return boothandle;
+        return bootHandle;
     }
 
     private static class FallbackSupplier {
@@ -324,8 +324,8 @@ public class IndyInterface {
     }
 
     /**
-     * Get the cached methodhandle. if the related methodhandle is not found 
in the inline cache, cache and return it.
-     * @deprecated Use the new boothandle-based approach instead.
+     * Get the cached methodHandle. if the related methodHandle is not found 
in the inline cache, cache and return it.
+     * @deprecated Use the new bootHandle-based approach instead.
      */
     @Deprecated
     public static Object fromCache(CacheableCallSite callSite, Class<?> 
sender, String methodName, int callID, Boolean safeNavigation, Boolean 
thisCall, Boolean spreadCall, Object dummyReceiver, Object[] arguments) throws 
Throwable {
@@ -334,7 +334,7 @@ public class IndyInterface {
     }
 
     /**
-     * Get the cached methodhandle. if the related methodhandle is not found 
in the inline cache, cache and return it.
+     * Get the cached methodHandle. if the related methodHandle is not found 
in the inline cache, cache and return it.
      */
     private static MethodHandle fromCacheHandle(CacheableCallSite callSite, 
Class<?> sender, String methodName, int callID, Boolean safeNavigation, Boolean 
thisCall, Boolean spreadCall, Object dummyReceiver, Object[] arguments) throws 
Throwable {
         FallbackSupplier fallbackSupplier = new FallbackSupplier(callSite, 
sender, methodName, callID, safeNavigation, thisCall, spreadCall, 
dummyReceiver, arguments);

Reply via email to