You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2019/11/22 17:43:21 UTC

[groovy] 05/06: Fix the failing build on Java 11.0.5

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

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

commit 40cd808cd250478d90731394ed059302e938a0a4
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Nov 23 01:09:40 2019 +0800

    Fix the failing build on Java 11.0.5
    
    (cherry picked from commit 002b8581aa3f8728b25a66690e7aac05f375ee0e)
---
 src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy b/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy
index e708b73..717b461 100644
--- a/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy
+++ b/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy
@@ -421,7 +421,7 @@ runner.run()
 // tag::robot_runtime_error_cs[]
 java.lang.NoSuchMethodError: java.lang.Object.move()Ltyping/Robot;
 // end::robot_runtime_error_cs[]
-'''))
+''')) || err.contains('java.lang.NoSuchMethodError: \'typing.Robot java.lang.Object.move()\'')
     }
 
     void testRobotExamplePassesWithCompileStatic() {