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

emilles 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 53b414359a fix test case
53b414359a is described below

commit 53b414359ad7556df6851f193a9da19af86b3a56
Author: Eric Milles <[email protected]>
AuthorDate: Fri Oct 31 18:02:27 2025 -0500

    fix test case
---
 src/test/groovy/bugs/Groovy11793.groovy | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/groovy/bugs/Groovy11793.groovy 
b/src/test/groovy/bugs/Groovy11793.groovy
index 9b92f77f63..d579d2b6cb 100644
--- a/src/test/groovy/bugs/Groovy11793.groovy
+++ b/src/test/groovy/bugs/Groovy11793.groovy
@@ -21,11 +21,15 @@ package bugs
 import org.junit.Test
 
 import static groovy.test.GroovyAssert.assertScript
+import static groovy.test.GroovyAssert.isAtLeastJdk
+import static org.junit.Assume.assumeTrue
 
 final class Groovy11793 {
 
     @Test
     void testConstantInlining() {
+        assumeTrue(isAtLeastJdk('9')) // for StringUTF16
+
         assertScript '''
             @interface A {
                 int value()

Reply via email to