diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-05-12 14:55:48 +0100 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-05-13 14:34:47 +0100 |
commit | 6cb4ccbd0dfabb9261aca911749be0603adecfe5 (patch) | |
tree | 3f3dcb66756712da208c32bc46cf75c57f69f08e /test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java | |
parent | a6e95b32d499811bbb37602fc7446a5a0d05b9f8 (diff) |
Ensure that java.lang.reflect.Field is initialized
Recent change in libcore (a move of clinit code
to register function for java.net.InetAddress
class) was triggering a failure in 119-noimage-patchoat
test. Failure was occurring when the test was running
without the image. This was caused by the
java.lang.reflect.Field not being initialized when
running InetAddress.<clinit>, which is a side effect
of calling JNIEnv->GetMethodId inside the libcore JNI_OnLoad.
This changes makes sure that this class is initialized
when we're running without image.
Bug: 28153851
Bug: 27265238
Change-Id: I8aeb5eb312a163c452c40b851112544a8340e488
(cherry picked from commit a2b147eaf72c5af23302a382620360b4cac28934)
Diffstat (limited to 'test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java')
0 files changed, 0 insertions, 0 deletions