runtime: Cleanup comments for kAccSkipAccessChecks
Bug: 22414682
Change-Id: I5a19cba0fb1d6b55639c173582d547f85bc26779
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h
index 8092db4..18e9c5f 100644
--- a/runtime/mirror/class.h
+++ b/runtime/mirror/class.h
@@ -287,10 +287,9 @@
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;
}