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

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


The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push:
     new 9839342443 test fixes
9839342443 is described below

commit 9839342443ff94e5bd8c8fa90299fc18539422e5
Author: Paul King <[email protected]>
AuthorDate: Wed Apr 16 14:01:27 2025 +1000

    test fixes
---
 .../groovy/org/codehaus/groovy/benchmarks/vm5/b2394/ScriptLauncher.java | 2 +-
 src/test/groovy/org/codehaus/groovy/util/ReferenceManagerTest.groovy    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/test/groovy/org/codehaus/groovy/benchmarks/vm5/b2394/ScriptLauncher.java 
b/src/test/groovy/org/codehaus/groovy/benchmarks/vm5/b2394/ScriptLauncher.java
index a058c68ff2..2d14e87f16 100644
--- 
a/src/test/groovy/org/codehaus/groovy/benchmarks/vm5/b2394/ScriptLauncher.java
+++ 
b/src/test/groovy/org/codehaus/groovy/benchmarks/vm5/b2394/ScriptLauncher.java
@@ -51,7 +51,7 @@ public class ScriptLauncher extends Thread
         // run the script numIter times
         for (int i = 0; i < numIter; i++)
         {
-            Builder builder = new Builder();
+            org.codehaus.groovy.benchmarks.vm5.b2394.Builder builder = new 
org.codehaus.groovy.benchmarks.vm5.b2394.Builder();
 
             Binding binding = new Binding();
             binding.setVariable("builder", builder);
diff --git 
a/src/test/groovy/org/codehaus/groovy/util/ReferenceManagerTest.groovy 
b/src/test/groovy/org/codehaus/groovy/util/ReferenceManagerTest.groovy
index 117d023bcf..b582ae1278 100644
--- a/src/test/groovy/org/codehaus/groovy/util/ReferenceManagerTest.groovy
+++ b/src/test/groovy/org/codehaus/groovy/util/ReferenceManagerTest.groovy
@@ -144,7 +144,7 @@ class ReferenceManagerTest extends GroovyTestCase {
         }
     }
 
-    private class TestReference<T>
+    private final class TestReference<T>
             extends java.lang.ref.SoftReference<T>
             implements Reference<T, Finalizable> {
 

Reply via email to