diff options
author | 2014-07-17 11:09:10 -0700 | |
---|---|---|
committer | 2014-08-08 08:29:53 -0700 | |
commit | 68d8b42ddec39ec0174162d90d4abaa004d1983e (patch) | |
tree | 0bb6ccf3b996bb8363c10d07aa39cde221980602 /runtime/utils.cc | |
parent | 9c522c2cbbf50dc687728747b37ad59985750b65 (diff) |
Wire up check JNI force copy mode.
Increase check JNI checks.
Break apart jni_internal.h in to jni_env_ext.h and java_vm_ext.h.
Fix the abuse of ScopedObjectAccess/annotalysis by ScopedCheck in the case
of VM routines.
Make class loader override and shared library class loader JNI global
references rather than mirror pointers.
Clean-ups to native bridge.
Change-Id: If7c6110b5aade7a402bfb67534af86a7b2cdeb55
Diffstat (limited to 'runtime/utils.cc')
-rw-r--r-- | runtime/utils.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc index f966fbd7ec..48d6cdf263 100644 --- a/runtime/utils.cc +++ b/runtime/utils.cc @@ -281,6 +281,11 @@ std::string PrettyDescriptor(const std::string& descriptor) { return result; } +std::string PrettyDescriptor(Primitive::Type type) { + std::string descriptor_string(Primitive::Descriptor(type)); + return PrettyDescriptor(descriptor_string); +} + std::string PrettyField(mirror::ArtField* f, bool with_type) { if (f == NULL) { return "null"; |