You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by mo...@apache.org on 2009/05/19 15:04:26 UTC

svn commit: r776349 - /incubator/kato/trunk/HprofBinaryReaderPOCUI/src/org/apache/kato/hprof/ui/editors/DumpViewer.java

Author: monteith
Date: Tue May 19 15:04:26 2009
New Revision: 776349

URL: http://svn.apache.org/viewvc?rev=776349&view=rev
Log:
Open HProfFile before opening HProfView.

Modified:
    incubator/kato/trunk/HprofBinaryReaderPOCUI/src/org/apache/kato/hprof/ui/editors/DumpViewer.java

Modified: incubator/kato/trunk/HprofBinaryReaderPOCUI/src/org/apache/kato/hprof/ui/editors/DumpViewer.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/HprofBinaryReaderPOCUI/src/org/apache/kato/hprof/ui/editors/DumpViewer.java?rev=776349&r1=776348&r2=776349&view=diff
==============================================================================
--- incubator/kato/trunk/HprofBinaryReaderPOCUI/src/org/apache/kato/hprof/ui/editors/DumpViewer.java (original)
+++ incubator/kato/trunk/HprofBinaryReaderPOCUI/src/org/apache/kato/hprof/ui/editors/DumpViewer.java Tue May 19 15:04:26 2009
@@ -123,6 +123,12 @@
 				    	  Activator.getDefault().load(pm,source);
 				    	  pm.beginTask("Reading data", 1);
 				    	  HProfFile dump=source.getDump();
+				    	  try {
+							dump.open();
+						} catch (IOException e1) {
+							// TODO Auto-generated catch block
+							e1.printStackTrace();
+						}
 				    	  view=new HProfView(dump);
 				    	  view.open(new IViewMonitor(){