You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by nd...@apache.org on 2006/08/14 04:10:54 UTC
svn commit: r431283 - in
/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc:
java/lang/VMThreadManager.java org/apache/harmony/vm/VMStack.java
Author: ndbeyer
Date: Sun Aug 13 19:10:53 2006
New Revision: 431283
URL: http://svn.apache.org/viewvc?rev=431283&view=rev
Log:
Minor code cleanup.
Modified:
incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/VMThreadManager.java
incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/vm/VMStack.java
Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/VMThreadManager.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/VMThreadManager.java?rev=431283&r1=431282&r2=431283&view=diff
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/VMThreadManager.java (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/java/lang/VMThreadManager.java Sun Aug 13 19:10:53 2006
@@ -30,7 +30,7 @@
* reference to the Thread object even if it hasn't been initialized yet.
* <p>
* This class must be implemented according to the common policy for porting
- * interfaces - see the porting interface overview for more detailes.
+ * interfaces - see the porting interface overview for more details.
*
* @api2vm
*/
@@ -168,7 +168,7 @@
* <p>
* The method allows to set the stack size for the thread specified in its
* {@link Thread#Thread(java.lang.ThreadGroup, java.lang.Runnable,
- * java.lang.String, long) contstructor}.
+ * java.lang.String, long) constructor}.
* <p>
* <b>Note:</b> This method is used for the {@link Thread#start()
* Thread.start()} method implementation.
Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/vm/VMStack.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/vm/VMStack.java?rev=431283&r1=431282&r2=431283&view=diff
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/vm/VMStack.java (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/vm/VMStack.java Sun Aug 13 19:10:53 2006
@@ -24,7 +24,7 @@
* methods must be used for different tasks to reach the better performance.
* <p>
* This class must be implemented according to the common policy for porting
- * interfaces - see the porting interface overview for more detailes.
+ * interfaces - see the porting interface overview for more details.
*
* @author Evgueni Brevnov, Roman S. Bushmanov
* @version $Revision: 1.1.6.4 $
@@ -40,7 +40,7 @@
}
/**
- * Returnes the class from the specified depth in the stack. If the
+ * Returns the class from the specified depth in the stack. If the
* specified depth is equal to zero then the caller of the caller of this
* method should be returned. Reflection stack frames should not be taken
* into account.
@@ -51,7 +51,7 @@
* depth, null is returned.
* @api2vm
*/
- public static native Class getCallerClass(int depth);
+ public static native Class<?> getCallerClass(int depth);
/**
* Collects and returns the stack of the current thread as an array of
@@ -79,11 +79,11 @@
/**
* Saves stack information of currently executing thread. Returned object
- * can be used as a heandler to obtain an array of
+ * can be used as a handler to obtain an array of
* <code>java.lang.StackTraceElement</code> by means of the
* {@link VMStack#getStackTrace() VMStack.getStackTrace()} method.
*
- * @return heandler of the current stack.
+ * @return handler of the current stack.
*/
public static native Object getStackState();
@@ -99,7 +99,7 @@
* be excluded form the resulting array. The most top (recently invoked)
* method is stored as a first element of the array.
*
- * @param state heandler returned by the
+ * @param state handler returned by the
* {@link VMStack#getStackState() VMStack.getStackState()} method.
* @return array of <code>StackTraceElement</code> elements. If stack is
* empty then array of length 0 should be returned.
@@ -118,5 +118,5 @@
* @return class loader of the specified class.
* @api2vm
*/
- static native ClassLoader getClassLoader(Class clazz);
+ static native ClassLoader getClassLoader(Class<?> clazz);
}