OSDN Git Service

ART: Add ClassLoader.getResourceAsStream cutout
authorAndreas Gampe <agampe@google.com>
Thu, 14 Apr 2016 00:58:05 +0000 (17:58 -0700)
committerAndreas Gampe <agampe@google.com>
Sat, 16 Apr 2016 03:28:12 +0000 (20:28 -0700)
commitc94eeebc7cf3e577eed3ea380401007aea642bf3
treef3ff5692c4f93dcc01e2bf4635e444b965cdead4
parent5ad9767694ecf48de05425a030ee2e74903cc93f
ART: Add ClassLoader.getResourceAsStream cutout

Add support for getResourceAsStream to unstarted runtime.

Allows to compile-time initialize:
* android.icu.impl.ICUConfig

Allows to revert other resource loading hacks.

Do not intercept Class.getResourceAsStream directly. There is
name-mangling involved, leave that on the Java side.

Bug: 27265238
Change-Id: I8c408aa633086f4a1aa14bb1b404607b2498fe97
runtime/interpreter/unstarted_runtime.cc
runtime/interpreter/unstarted_runtime_list.h