This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
The following commit(s) were added to refs/heads/master by this push: new 850591c [MNG-6481] Workaroud to pass tests with Java 11 850591c is described below commit 850591c1ddfd16d61d7a067f78b34d0c41e3b08c Author: Sylwester Lachiewicz <slachiew...@apache.org> AuthorDate: Thu Nov 8 01:54:45 2018 +0100 [MNG-6481] Workaroud to pass tests with Java 11 - one more error message pattern --- .../apache/maven/it/MavenITmng5958LifecyclePhaseBinaryCompat.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5958LifecyclePhaseBinaryCompat.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5958LifecyclePhaseBinaryCompat.java index add814d..bb22f70 100644 --- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5958LifecyclePhaseBinaryCompat.java +++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5958LifecyclePhaseBinaryCompat.java @@ -37,10 +37,10 @@ public class MavenITmng5958LifecyclePhaseBinaryCompat } catch ( VerificationException e ) { - // TODO There is no good way to test for Java 9+ in Verifier in order to add 'java.base/' - // to the string. - verifier.verifyTextInLog( "[ERROR] Internal error: java.lang.ClassCastException: " - + "org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to " ); + // There is no good way to test for Java 9+ in Verifier in order to add 'java.base/' to the string. + // Java 11: Internal error: java.lang.ClassCastException: class org.apache.maven.. + verifier.verifyTextInLog( "[ERROR] Internal error: java.lang.ClassCastException: " ); + verifier.verifyTextInLog( "org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to " ); } verifier.resetStreams(); }