Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Powell2010-04-30 07:39:34 -0400
committerSteve Powell2010-04-30 07:39:34 -0400
commitfbaa027e9847f690279b073f13ae272e3b42713c (patch)
tree7894ebc0b4083a57ede292e5d9f6834d12ad6b4e /org.eclipse.virgo.medic.core
parent640e4d68f685da55665064798f9d6e660daf9467 (diff)
downloadorg.eclipse.virgo.medic-fbaa027e9847f690279b073f13ae272e3b42713c.tar.gz
org.eclipse.virgo.medic-fbaa027e9847f690279b073f13ae272e3b42713c.tar.xz
org.eclipse.virgo.medic-fbaa027e9847f690279b073f13ae272e3b42713c.zip
bug 311160: HeapDumpContributor writes to heap.err not heap.out if heap dump not possible.
Diffstat (limited to 'org.eclipse.virgo.medic.core')
-rw-r--r--org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/dump/impl/heap/HeapDumpContributor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/dump/impl/heap/HeapDumpContributor.java b/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/dump/impl/heap/HeapDumpContributor.java
index 80daccc..2ff1929 100644
--- a/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/dump/impl/heap/HeapDumpContributor.java
+++ b/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/dump/impl/heap/HeapDumpContributor.java
@@ -52,7 +52,7 @@ public final class HeapDumpContributor implements DumpContributor {
} else {
PrintWriter writer = null;
try {
- writer = new PrintWriter(dump.createFileWriter("heap.out"));
+ writer = new PrintWriter(dump.createFileWriter("heap.err"));
writer.println("Diagnostic MXBean is not available. Heap dump cannot be generated.");
} finally {
if (writer != null) {

Back to the top