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

sunlan 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 a96c76e296 Add `Pattern` to builtin immutables list
a96c76e296 is described below

commit a96c76e29642a43174dd89573cd26a1381642cab
Author: Daniel Sun <[email protected]>
AuthorDate: Sun Dec 8 13:51:04 2024 +0800

    Add `Pattern` to builtin immutables list
---
 src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java 
b/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java
index a79d845545..ddb16c06d8 100644
--- a/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java
+++ b/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java
@@ -96,6 +96,7 @@ public class ImmutablePropertyUtils {
             "java.awt.Color",
             "java.net.URI",
             "java.util.UUID",
+            "java.util.regex.Pattern",
             "java.time.DayOfWeek",
             "java.time.Duration",
             "java.time.Instant",

Reply via email to