summaryrefslogtreecommitdiff
path: root/runtime/class_linker.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-11-06 18:42:04 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-06 18:42:04 +0000
commitef7ef4ce04a46405e15cd91115c6e657235adf83 (patch)
tree870583f3283d78b22ebe57d8d79ce9c3b2c8030f /runtime/class_linker.h
parentf66f05ddfceaa8a2f613d3ed8316a21c95e1fbca (diff)
parentcb086955c2a21270cd2f53a8bce71e577d776506 (diff)
Merge "ART: Change behavior for rethrowing init failures (2)"
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r--runtime/class_linker.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index 73f9d4b864..a35ba3e6ef 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -848,9 +848,7 @@ class ClassLinker {
// Throw the class initialization failure recorded when first trying to initialize the given
// class.
- // Note: Currently we only store the descriptor, so we cannot throw the exact throwable, only
- // a recreation with a custom string.
- void ThrowEarlierClassFailure(mirror::Class* c)
+ void ThrowEarlierClassFailure(mirror::Class* c, bool wrap_in_no_class_def = false)
SHARED_REQUIRES(Locks::mutator_lock_)
REQUIRES(!dex_lock_);