harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r901310 - /harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/VM.java
Date Wed, 20 Jan 2010 18:00:08 GMT
Author: hindessm
Date: Wed Jan 20 18:00:07 2010
New Revision: 901310

URL: http://svn.apache.org/viewvc?rev=901310&view=rev
Log:
Clarify specification for "new" getStackClass method.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/VM.java

Modified: harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/VM.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/VM.java?rev=901310&r1=901309&r2=901310&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/VM.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/VM.java
Wed Jan 20 18:00:07 2010
@@ -70,7 +70,8 @@
      * </ul>
      *
      * @param depth the stack depth of the requested Class
-     * @return the Class at the specified depth
+     * @return the Class at the specified depth or null if depth is outside the
+     *         bounds of the stack
      * @see Class#getStackClasses
      */
     public static Class<?> getStackClass(int depth) {



Mime
View raw message