From 1974db8082e869221f643a747504218d2dd1470b Mon Sep 17 00:00:00 2001 From: Steve Millidge Date: Sun, 26 Oct 2014 17:57:25 +0000 Subject: [PATCH] Fix for GLASSFISH-21242 --- .../java/com/sun/common/util/logging/LoggingOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingOutputStream.java b/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingOutputStream.java index 1b3b74caa51..faf4441b941 100644 --- a/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingOutputStream.java +++ b/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingOutputStream.java @@ -225,7 +225,7 @@ public void println(Object x) { if (!(x instanceof java.lang.Throwable)) { // No special processing if it is not an exception. - println(x.toString()); + println(String.valueOf(x)); return; } else { StackTraceObjects sTO = new StackTraceObjects((Throwable) x);