diff --git a/jetty-server/src/test/java/org/eclipse/jetty/server/AsyncRequestReadTest.java b/jetty-server/src/test/java/org/eclipse/jetty/server/AsyncRequestReadTest.java index 1c8bb470c50..bb0acbff787 100644 --- a/jetty-server/src/test/java/org/eclipse/jetty/server/AsyncRequestReadTest.java +++ b/jetty-server/src/test/java/org/eclipse/jetty/server/AsyncRequestReadTest.java @@ -361,7 +361,7 @@ public class AsyncRequestReadTest break; out.write(c); } - out.println(); + out.write('\n'); } } } diff --git a/jetty-server/src/test/java/org/eclipse/jetty/server/handler/AllowSymLinkAliasCheckerTest.java b/jetty-server/src/test/java/org/eclipse/jetty/server/handler/AllowSymLinkAliasCheckerTest.java index e9fc3ed3a28..65bdd8b3bb6 100644 --- a/jetty-server/src/test/java/org/eclipse/jetty/server/handler/AllowSymLinkAliasCheckerTest.java +++ b/jetty-server/src/test/java/org/eclipse/jetty/server/handler/AllowSymLinkAliasCheckerTest.java @@ -82,7 +82,10 @@ public class AllowSymLinkAliasCheckerTest @After public void teardown() throws Exception { - server.stop(); + if( server != null ) + { + server.stop(); + } } private void setupRoot() throws IOException