summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-03-10 16:18:59 -0800
committerDan Bornstein <danfuzz@android.com>2011-03-10 16:18:59 -0800
commit3d93b50c1e9d8cb12d17a4331edd27ee2a1dc7a9 (patch)
treec856996a42698f3b6deba80f0dad1b34f994b49b /dalvik
parent325b3a8fc0233a61a748e1ed942ad4f2be00b1aa (diff)
downloadlibcore-3d93b50c1e9d8cb12d17a4331edd27ee2a1dc7a9.zip
libcore-3d93b50c1e9d8cb12d17a4331edd27ee2a1dc7a9.tar.gz
libcore-3d93b50c1e9d8cb12d17a4331edd27ee2a1dc7a9.tar.bz2
Remove the stopAtPrivileged argument.
It's superfluous now. Change-Id: I5628797b1296a41bfe72e535efaf18cd17e12fd4
Diffstat (limited to 'dalvik')
-rw-r--r--dalvik/src/main/java/dalvik/system/VMStack.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/dalvik/src/main/java/dalvik/system/VMStack.java b/dalvik/src/main/java/dalvik/system/VMStack.java
index 32d8bcf..6f38f7e 100644
--- a/dalvik/src/main/java/dalvik/system/VMStack.java
+++ b/dalvik/src/main/java/dalvik/system/VMStack.java
@@ -49,9 +49,7 @@ public final class VMStack {
/**
* Creates an array of classes from the methods at the top of the stack.
* We continue until we reach the bottom of the stack or exceed the
- * specified maximum depth. If stopAtPrivileged is set, the last
- * element of the array will be the caller of the most-recent privileged
- * method.
+ * specified maximum depth.
* <p>
* The topmost stack frame (this method) and the one above that (the
* caller) are excluded from the array. Frames with java.lang.reflect
@@ -59,16 +57,14 @@ public final class VMStack {
* <p>
* The classes in the array are the defining classes of the methods.
* <p>
- * This is expected to be identical to Harmony's VMStack.getClasses.
+ * This is similar to Harmony's VMStack.getClasses, except that this
+ * implementation doesn't have a concept of "privileged" frames.
*
* @param maxDepth
* maximum number of classes to return, or -1 for all
- * @param stopAtPrivileged
- * stop when a privileged frame is reached
* @return an array with classes for the most-recent methods on the stack
*/
- native public static Class<?>[] getClasses(int maxDepth,
- boolean stopAtPrivileged);
+ native public static Class<?>[] getClasses(int maxDepth);
/**
* Retrieves the stack trace from the specified thread.