Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2009-05-13 19:14:59 +0000
committerJohn Arthorne2009-05-13 19:14:59 +0000
commitc35f2bed364bca2a5fd1a76cec3c4c2c0dcc5ae3 (patch)
tree034253526974164b2e5f6fd1a6576b72f2d9f3ba
parent5c655881af2674ab54d41b026f0bb5efda3ca391 (diff)
downloadrt.equinox.bundles-c35f2bed364bca2a5fd1a76cec3c4c2c0dcc5ae3.tar.gz
rt.equinox.bundles-c35f2bed364bca2a5fd1a76cec3c4c2c0dcc5ae3.tar.xz
rt.equinox.bundles-c35f2bed364bca2a5fd1a76cec3c4c2c0dcc5ae3.zip
Bug 276076 [common] Stack trace is always printed to the consolev20090513
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PrintStackUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PrintStackUtil.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PrintStackUtil.java
index 1ac4876dc..a5ec50d7b 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PrintStackUtil.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PrintStackUtil.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008 IBM Corporation and others.
+ * Copyright (c) 2008, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,7 +24,7 @@ public class PrintStackUtil {
output.println("Contains: " + children[i].getMessage()); //$NON-NLS-1$
Throwable exception = children[i].getException();
if (exception != null)
- exception.printStackTrace();
+ exception.printStackTrace(output);
printChildren(children[i], output);
}
}
@@ -38,7 +38,7 @@ public class PrintStackUtil {
output.flush(); // call to synchronize output
Throwable exception = children[i].getException();
if (exception != null)
- exception.printStackTrace();
+ exception.printStackTrace(output);
printChildren(children[i], output);
}
}

Back to the top