OSDN Git Service

ART: Add integer & long parsing cutout to unstarted runtime
authorAndreas Gampe <agampe@google.com>
Wed, 6 Apr 2016 03:14:30 +0000 (20:14 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 6 Apr 2016 03:50:11 +0000 (20:50 -0700)
commit9c62dab16e4be0c19a2e6c6c0cc2b24c2814c6f2
treee8e89beebb67914f095b826aed9130944d3d26a3
parentf72f19fac0016499d33fd75b0463d0128a58a9f4
ART: Add integer & long parsing cutout to unstarted runtime

Add a cutout for Integer.parseInt and Long.parseLong. Only handle
(some) successful cases, and abort the transaction in the rest.
Add tests.

Allows to compile-time initialize:
* com.android.org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers
* com.android.org.bouncycastle.asn1.x509.X509ObjectIdentifiers
* sun.security.x509.InhibitAnyPolicyExtension

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