summaryrefslogtreecommitdiff
path: root/runtime/mirror/class.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/class.h')
-rw-r--r--runtime/mirror/class.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h
index 79adfb65b1..388a231cdc 100644
--- a/runtime/mirror/class.h
+++ b/runtime/mirror/class.h
@@ -287,10 +287,9 @@ class MANAGED Class FINAL : public Object {
return (GetAccessFlags() & kAccSynthetic) != 0;
}
- // Returns true if the class had run the verifier at least once.
+ // Return whether the class had run the verifier at least once.
// This does not necessarily mean that access checks are avoidable,
// since the class methods might still need to be run with access checks.
- // If this bit returns false, then the methods are not to be trusted with skipping access checks.
bool WasVerificationAttempted() SHARED_REQUIRES(Locks::mutator_lock_) {
return (GetAccessFlags() & kAccSkipAccessChecks) != 0;
}