diff options
author | Alex Light <allight@google.com> | 2019-11-26 10:47:43 -0800 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-12-02 18:34:20 +0000 |
commit | 20b7a9b8aeaf76fc8f3248f211489fd00af73170 (patch) | |
tree | 33a09412c220b5bfc9935a84fabd92a39aa4c35f /test/2000-virtual-list-structural/src-ex/java/util/AbstractCollection.java | |
parent | c6ca1170904c9f5bbdf0ee5b12d6d4cb093739fc (diff) |
Fix Missing ReflectiveHandleScope in Class_newInstance
The Class_newInstance method (the native implementation of the
j.l.Class.newInstance function) incorrectly held an ArtMethod* for the
constructor over a suspend point. This could lead to an obsolete
method being called or (worst case) CHECK failures due to not
finishing the initialization of the class if it's made obsolete.
Test: ./test/run-test --host 2001
Bug: 145197371
Bug: 134162467
Change-Id: I7813977bfdd17165da810a1705197654eef024a1
Diffstat (limited to 'test/2000-virtual-list-structural/src-ex/java/util/AbstractCollection.java')
0 files changed, 0 insertions, 0 deletions