incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monte...@apache.org
Subject svn commit: r889276 - in /incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java: JavaClassLoader.java JavaField.java JavaHeap.java JavaReference.java JavaRuntime.java JavaThread.java JavaVMOption.java
Date Thu, 10 Dec 2009 14:36:28 GMT
Author: monteith
Date: Thu Dec 10 14:36:28 2009
New Revision: 889276

URL: http://svn.apache.org/viewvc?rev=889276&view=rev
Log:
Corrections to errors highlighted by Andrew Johnson.

Modified:
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaClassLoader.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaField.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaHeap.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaReference.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaRuntime.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaThread.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaVMOption.java

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaClassLoader.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaClassLoader.java?rev=889276&r1=889275&r2=889276&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaClassLoader.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaClassLoader.java
Thu Dec 10 14:36:28 2009
@@ -94,7 +94,7 @@
      * <ul>
      * <li>To find the JavaClass that represents "java.lang.String" use findClass("java/lang/String")</li>
      * <li>To find the JavaClass that represents "Foo.InnerClass.InnerInnerClass" in
the default package use findClass("Foo$InnerClass$InnerInnerClass")</li>
-     * <li>To fine the JavaClass that represents "java.util.Map.Entry usefindClass("java/util/Map$Entry")
+     * <li>To find the JavaClass that represents "java.util.Map.Entry use findClass("java/util/Map$Entry")
      * </ul> 
      * 
      * @param name of the class to find. Packages should be separated by

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaField.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaField.java?rev=889276&r1=889275&r2=889276&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaField.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaField.java
Thu Dec 10 14:36:28 2009
@@ -25,7 +25,7 @@
 
     /**
      * <p>
-     * Get the contents of an Object field
+     * Get the contents of a field of an Object.
      * 
      * @param object to fetch the field from. Ignored for static
      * fields.
@@ -65,7 +65,7 @@
      * @throws MemoryAccessException 
      * @throws NullPointerException if the field is an instance field, and object is null
      * @throws IllegalArgumentException if the specified object is not appropriate for
-     * this field, or if the type of the field cannot be converted to boolean
+     * this field, or if the field is not a boolean.
      */
     boolean getBoolean(JavaObject object) throws CorruptDataException, MemoryAccessException;
 

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaHeap.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaHeap.java?rev=889276&r1=889275&r2=889276&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaHeap.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaHeap.java
Thu Dec 10 14:36:28 2009
@@ -21,7 +21,7 @@
  * Represents a single heap of managed objects.
  * 
  * The heap can be viewed as an unordered collection of JavaObjects or as a region of storage

- * within the Java Virtual Machiine instance. 
+ * within the Java Virtual Machine instance. 
  * 
  * The heap commonly contains JavaObject instances that are reachable by navigating chains
of {@link JavaReference}
  * These references can be obtained from the {@link JavaRuntime#getHeapRoots()} method.

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaReference.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaReference.java?rev=889276&r1=889275&r2=889276&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaReference.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaReference.java
Thu Dec 10 14:36:28 2009
@@ -123,7 +123,7 @@
      * <p>
      * Get a string describing the reference type.
      * <p>
-     * Implementors should not depend on the contents or identity of this string.
+     * Users should not depend on the contents or identity of this string.
      * e.g. "JNI Weak global reference", "Instance field 'MyClass.value'", "Constant pool
string constant"
      * @return a String describing the reference type
      */
@@ -149,7 +149,7 @@
     boolean isClassReference() throws DataUnavailable, CorruptDataException;
 
     /**
-     * >p>
+     * <p>
      * Get the object referred to by this reference.
      * @return a JavaObject or a JavaClass
      * @throws DataUnavailable if the requested information is not available
@@ -160,7 +160,7 @@
     /**
      * <p>
      * Get the source of this reference if available.
-     * @return a JavaClass, JavaObject, JavaStackFrame or null if unknown
+     * @return a JavaClass, JavaObject, JavaStackFrame, JavaThread or null if unknown
      * @throws DataUnavailable if the requested information is not available
      * @throws CorruptDataException is the underlying data is in an unexpected state
      */

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaRuntime.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaRuntime.java?rev=889276&r1=889275&r2=889276&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaRuntime.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaRuntime.java
Thu Dec 10 14:36:28 2009
@@ -62,7 +62,7 @@
      * Get the set of class loaders available in this Java Virtual Machine instance.
      * <p>
      * Available in this context means class loaders that are participating in the class
loader hierarchy.
-     * All class loaders are returned including any defined by the Java Virtual machine instance
ifself.
+     * All class loaders are returned including any defined by the Java Virtual machine instance
itself.
      * </p><p>
      * Any structural relationships between class loaders in this list is not exposed. Recreation
of the class loader
      * graph within a Java Virtual Machine instance is beyond the scope of the API.  

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaThread.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaThread.java?rev=889276&r1=889275&r2=889276&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaThread.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaThread.java
Thu Dec 10 14:36:28 2009
@@ -145,7 +145,7 @@
     ImageThread getImageThread() throws CorruptDataException, DataUnavailable;
 
     /**
-     * <p>Get the set of {@link ImageSection ImageSections} which make up the Java
Virtual Machine stack.
+     * <p>Get the List of {@link ImageSection ImageSections} which make up the Java
Virtual Machine stack.
      * </p>
      * <p> 
      * Some Java Virtual Machine implementations may use parts of the ImageThread's stack
@@ -183,7 +183,7 @@
      * 
      * <p>Usually this is derived from the object associated with the thread, but if
the
      * name cannot be derived this way (e.g. there is no object associated with the thread)
-     * Kato will create a name for the thread.
+     * a name will be created for the thread.
      * </p>
      * 
      * @return the name of the thread

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaVMOption.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaVMOption.java?rev=889276&r1=889275&r2=889276&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaVMOption.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/runtime/java/JavaVMOption.java
Thu Dec 10 14:36:28 2009
@@ -24,7 +24,7 @@
  * Each JavaVMOption consists of two components	:
  * <ol>
  * <li> an optionString string, used to identify the option.</li>
- * <li> an extraInfo pointer, used to pass additional information. This component is
usually NULL.</li>
+ * <li> an extraInfo pointer, used to pass additional information. This component is
usually null.</li>
  * </ol>
  */
 public interface JavaVMOption {



Mime
View raw message