[MNG-6428] IT for MNG-5958 fails on Java 9+

This commit is contained in:
Michael Osipov 2018-06-16 01:37:21 +02:00
parent e3b61872fa
commit f715b10806
1 changed files with 6 additions and 4 deletions

View File

@ -37,8 +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 java.lang.String -> [Help 1]" );
+ "org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to " );
}
verifier.resetStreams();
}