incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monte...@apache.org
Subject svn commit: r803615 - in /incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image: Image.java ImageAddressSpace.java ImageModule.java ImageProcess.java ImageThread.java
Date Wed, 12 Aug 2009 17:25:02 GMT
Author: monteith
Date: Wed Aug 12 17:25:01 2009
New Revision: 803615

URL: http://svn.apache.org/viewvc?rev=803615&view=rev
Log:
Add generics to Image API lists.

Modified:
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/Image.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageAddressSpace.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageModule.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageProcess.java
    incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageThread.java

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/Image.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/Image.java?rev=803615&r1=803614&r2=803615&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/Image.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/Image.java
Wed Aug 12 17:25:01 2009
@@ -13,6 +13,7 @@
  ******************************************************************************/
 package javax.tools.diagnostics.image;
 
+import java.net.InetAddress;
 import java.util.Iterator;
 import java.util.List;
 
@@ -36,7 +37,7 @@
 	 * @see ImageAddressSpace
      * @see CorruptData
 	 */
-	List getAddressSpaces();
+	List<ImageAddressSpace> getAddressSpaces();
 
 	/**
 	 * Get the family name for the processor on which the image was
@@ -136,5 +137,5 @@
 	 * @see java.net.InetAddress
 	 * @see CorruptData
 	 */
-	public Iterator getIPAddresses() throws DataUnavailable;
+	public Iterator<InetAddress> getIPAddresses() throws DataUnavailable;
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageAddressSpace.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageAddressSpace.java?rev=803615&r1=803614&r2=803615&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageAddressSpace.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageAddressSpace.java
Wed Aug 12 17:25:01 2009
@@ -44,7 +44,7 @@
      * @see ImageProcess
      * @see CorruptData
      */
-    List getProcesses();
+    List<ImageProcess> getProcesses();
     
     /**
      * A factory method for creating pointers into this address space
@@ -59,5 +59,5 @@
      * @return An iterator of all the ImageSections in the address.  Their union will be
the total process address space
      * @see ImageSection
      */
-    List getImageSections();
+    List<ImageSection> getImageSections();
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageModule.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageModule.java?rev=803615&r1=803614&r2=803615&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageModule.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageModule.java
Wed Aug 12 17:25:01 2009
@@ -38,7 +38,7 @@
      * @see ImageSection
      * @see CorruptData
      */
-    List getSections();
+    List<ImageSection> getSections();
     
     /**
      * Provides a collection of symbols defined by the library. This
@@ -51,7 +51,7 @@
      * @see ImageSymbol
      * @see CorruptData
      */
-    List getSymbols();
+    List<ImageSymbol> getSymbols();
     
     /**
      * Get the table of properties associated with this module.

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageProcess.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageProcess.java?rev=803615&r1=803614&r2=803615&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageProcess.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageProcess.java
Wed Aug 12 17:25:01 2009
@@ -16,6 +16,8 @@
 import java.util.List;
 import java.util.Properties;
 
+import javax.tools.diagnostics.runtime.ManagedRuntime;
+
 /**
  * This class represents a Process running in a given Address Space.
  *
@@ -64,7 +66,7 @@
      * @see ImageModule
      * @see CorruptData
      */
-    List getLibraries() throws DataUnavailable, CorruptDataException;
+    List<ImageModule> getLibraries() throws DataUnavailable, CorruptDataException;
     
     /**
      * Get the module representing the executable within the image.
@@ -89,7 +91,7 @@
      * @see ImageThread 
      * @see CorruptData
      */
-    List getThreads();
+    List<ImageThread> getThreads();
 
     /**
      * Find the thread which triggered the creation of the image
@@ -116,7 +118,7 @@
      * @see javax.tools.diagnostics.runtime.java.JavaRuntime
      * @see CorruptData
      */
-    List getRuntimes();
+    List<ManagedRuntime> getRuntimes();
     
     /**
      * Get the OS signal number in this process which triggered the creation 

Modified: incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageThread.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageThread.java?rev=803615&r1=803614&r2=803615&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageThread.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api/src/main/java/javax/tools/diagnostics/image/ImageThread.java
Wed Aug 12 17:25:01 2009
@@ -45,7 +45,7 @@
      * @see CorruptData
      * 
      */
-    List getStackFrames() throws DataUnavailable;
+    List<ImageStackFrame> getStackFrames() throws DataUnavailable;
     
     /**
      * Get the set of image sections which make up the stack.
@@ -57,7 +57,7 @@
      * @see ImageSection
      * @see CorruptData
      */
-    List getStackSections();
+    List<ImageSection> getStackSections();
     
     /**
      * Get the register contents.
@@ -71,7 +71,7 @@
      * 
      * @see ImageRegister
      */
-    List getRegisters();
+    List<ImageRegister> getRegisters();
     
     /**
      * Get the OS-specific properties for this thread.



Mime
View raw message