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

sunlan pushed a commit to branch danielsun/try_to_fix_failing_master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 58bf0ae8838ad156e9e0eb2a08f395c0e6b44225
Author: Daniel Sun <[email protected]>
AuthorDate: Sat Jan 4 00:45:03 2025 +0900

    Revert "Declare `thisType` as `transient` to avoid serialization"
    
    This reverts commit 89fec7b5b60bef0e9d0be4ea183b88cc2283cbbf.
---
 src/main/java/groovy/lang/Closure.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/groovy/lang/Closure.java 
b/src/main/java/groovy/lang/Closure.java
index 76dac621e7..4ba76aa440 100644
--- a/src/main/java/groovy/lang/Closure.java
+++ b/src/main/java/groovy/lang/Closure.java
@@ -290,7 +290,7 @@ public abstract class Closure<V> extends 
GroovyObjectSupport implements Cloneabl
         return thisObject;
     }
 
-    private transient Class<?> thisType;
+    private Class<?> thisType;
     private Class<?> getThisType() {
         Class<?> thisType = this.thisType;
         if (thisType == null) {

Reply via email to