From b6317f0a30697e2ddcffba13c3f3b6b8fa36fae4 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 8 Aug 2007 16:22:58 +0000 Subject: [PATCH] perhaps the close() is the key to fix the problem reported in http://www.nabble.com/Console-output-is-empty-in-hudson-1.127-tf4235029.html git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4146 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/LargeText.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/hudson/model/LargeText.java b/core/src/main/java/hudson/model/LargeText.java index e31359c37a..cb94c70137 100644 --- a/core/src/main/java/hudson/model/LargeText.java +++ b/core/src/main/java/hudson/model/LargeText.java @@ -160,6 +160,7 @@ public class LargeText { else w = rsp.getWriter(); spool.writeTo(new LineEndNormalizingWriter(w)); + w.close(); }