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
1 file changed