summaryrefslogtreecommitdiff
path: root/runtime/class_linker.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2019-12-03 08:47:26 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2019-12-03 08:47:45 +0000
commit664999a12d6fc8a8ef5c0519b12ec1e8a51bb085 (patch)
treef4ae1b0844ac075807229db9695ead7dec07ff8a /runtime/class_linker.h
parent642af13b1b14794d8ab0db5cc82206213e648fa1 (diff)
Revert "Revert^2 "Allow structural redefinition on non-final classes.""
This reverts commit f1b809ce611e943f926fff97cefe0930226ffcc2. Reason for revert: Tests still fail Bug: 134162467 Bug: 144168550 Change-Id: Icdebc826b8630920b716afbfd6f338a29669fcc2
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r--runtime/class_linker.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index fc954da1be..49e14300c7 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -1441,10 +1441,6 @@ class ClassLoadCallback {
public:
virtual ~ClassLoadCallback() {}
- // Called immediately before beginning class-definition and immediately before returning from it.
- virtual void BeginDefineClass() REQUIRES_SHARED(Locks::mutator_lock_) {}
- virtual void EndDefineClass() REQUIRES_SHARED(Locks::mutator_lock_) {}
-
// If set we will replace initial_class_def & initial_dex_file with the final versions. The
// callback author is responsible for ensuring these are allocated in such a way they can be
// cleaned up if another transformation occurs. Note that both must be set or null/unchanged on