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/13 16:30:16 UTC
svn commit: r774419 - in /incubator/kato/trunk/org.apache.kato.example:
.classpath src/org/apache/kato/example/ObjectFields.java
Author: monteith
Date: Wed May 13 16:30:15 2009
New Revision: 774419
URL: http://svn.apache.org/viewvc?rev=774419&view=rev
Log:
Update example ObjectFields to match changes to projects and API.
Modified:
incubator/kato/trunk/org.apache.kato.example/.classpath
incubator/kato/trunk/org.apache.kato.example/src/org/apache/kato/example/ObjectFields.java
Modified: incubator/kato/trunk/org.apache.kato.example/.classpath
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.example/.classpath?rev=774419&r1=774418&r2=774419&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.example/.classpath (original)
+++ incubator/kato/trunk/org.apache.kato.example/.classpath Wed May 13 16:30:15 2009
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/sun160"/>
- <classpathentry kind="lib" path="/ApacheKatoDependencies/libs/kato.api-head.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/HprofBinaryReaderPOC"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/KatoHProfAdapterPOC"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/org.apache.kato.api"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: incubator/kato/trunk/org.apache.kato.example/src/org/apache/kato/example/ObjectFields.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.example/src/org/apache/kato/example/ObjectFields.java?rev=774419&r1=774418&r2=774419&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.example/src/org/apache/kato/example/ObjectFields.java (original)
+++ incubator/kato/trunk/org.apache.kato.example/src/org/apache/kato/example/ObjectFields.java Wed May 13 16:30:15 2009
@@ -18,8 +18,8 @@
import org.apache.kato.image.CorruptData;
import org.apache.kato.image.CorruptDataException;
-import org.apache.kato.image.DTFJException;
import org.apache.kato.image.ImagePointer;
+import org.apache.kato.image.KatoException;
import org.apache.kato.image.MemoryAccessException;
import org.apache.kato.java.JavaClass;
import org.apache.kato.java.JavaField;
@@ -254,7 +254,7 @@
System.err.println("Error getting field. " + nextField);
}
} // while (fields.hasNext())
- } catch (DTFJException e) {
+ } catch (KatoException e) {
System.err.println("Error printing out fields.");
e.printStackTrace();
}