From c0d8229898c44c0f604f08a5df1de83ff56c18fd Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 23 Sep 2014 10:38:30 -0700 Subject: ART: Better IllegalAccessException message Bug: 17618578 Bug: 17614623 Change-Id: I0e3f15e676acd6ed5844fc86e136f75cc335372d --- runtime/utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/utils.h') diff --git a/runtime/utils.h b/runtime/utils.h index 9ec6db1e52..3f2d829b68 100644 --- a/runtime/utils.h +++ b/runtime/utils.h @@ -311,6 +311,10 @@ std::string PrettyClass(mirror::Class* c) std::string PrettyClassAndClassLoader(mirror::Class* c) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); +// Returns a human-readable version of the Java part of the access flags, e.g., "private static " +// (note the trailing whitespace). +std::string PrettyJavaAccessFlags(uint32_t access_flags); + // Returns a human-readable size string such as "1MB". std::string PrettySize(int64_t size_in_bytes); -- cgit v1.2.3