diff options
author | Andreas Gampe <agampe@google.com> | 2014-09-23 10:38:30 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-09-29 11:40:16 -0700 |
commit | c0d8229898c44c0f604f08a5df1de83ff56c18fd (patch) | |
tree | 13b150e68e806204c547e04bc071246c06199c37 /runtime/utils.h | |
parent | c70535b4f9f1ff3e3da451734bb7d9601012ccc1 (diff) | |
download | art-c0d8229898c44c0f604f08a5df1de83ff56c18fd.tar.gz art-c0d8229898c44c0f604f08a5df1de83ff56c18fd.tar.bz2 art-c0d8229898c44c0f604f08a5df1de83ff56c18fd.zip |
ART: Better IllegalAccessException message
Bug: 17618578
Bug: 17614623
Change-Id: I0e3f15e676acd6ed5844fc86e136f75cc335372d
Diffstat (limited to 'runtime/utils.h')
-rw-r--r-- | runtime/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |