From 92a302b52f86acf62a36c05af74d3a1572561ac6 Mon Sep 17 00:00:00 2001 From: mindless Date: Sat, 20 Nov 2010 00:44:12 +0000 Subject: [PATCH] Fix bug from r36972 that caused some test failures.. that change wrote PRE/POSTAMBLE to Base64 encoded stream, so no preambles are found when the console bytes are scanned (as they got encoded). Fix this, and also apply the atomic-write change to encodeTo(Writer). git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@37064 71c3de6d-444a-0410-be80-ed276b4c234a --- .../src/main/java/hudson/console/ConsoleNote.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/hudson/console/ConsoleNote.java b/core/src/main/java/hudson/console/ConsoleNote.java index a0450aa59f..03fdffb572 100644 --- a/core/src/main/java/hudson/console/ConsoleNote.java +++ b/core/src/main/java/hudson/console/ConsoleNote.java @@ -157,18 +157,20 @@ public abstract class ConsoleNote implements Serializable, Describable implements Serializable, Describable implements Serializable, Describable