From 8d1da85822f254f102dfec2903ca7aa0064444af Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Thu, 4 Feb 2016 11:01:21 -0800 Subject: [PATCH] runtime: Cleanup comments for kAccSkipAccessChecks Bug: 22414682 Change-Id: I5a19cba0fb1d6b55639c173582d547f85bc26779 --- runtime/mirror/class.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h index 8092db4fb..18e9c5f72 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; } -- 2.11.0