restore Java 5 API compatibility

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402776 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2012-10-27 10:19:32 +00:00
parent 40d10ec9e4
commit 390122c170
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ public class DefaultExceptionHandlerTest
public void testJdk7ipv6()
{
ConnectException connEx = new ConnectException( "Connection refused: connect" );
IOException ioEx = new IOException( "Unable to establish loopback connection", connEx );
IOException ioEx = new IOException( "Unable to establish loopback connection" );
ioEx.initCause( connEx );
MojoExecutionException mojoEx =
new MojoExecutionException( "Error executing Jetty: Unable to establish loopback connection", ioEx );