commit | 9abc31e41d0983b3d0a111ea7752bd392f1c309e | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu May 17 11:47:09 2018 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu May 17 12:57:49 2018 -0700 |
tree | 29438ec505e1f16f5c7ea26ecd546fbcf0c54bf9 | |
parent | 1e7b825ffb4c19e1f046eb254ab8e491919c7a69 [diff] |
ART: Refactor String.init binding Do not use JNI infrastructure, and move the initialization to the classlinker's FinishInit. This means the binding is available after the minimal set of initializations. We could consider moving the functionality even earlier, as soon as String methods are known and StringFactory can be loaded, but this placement works well enough and is nicely isolated. Bug: 79902155 Test: m test-art-host Change-Id: If4e9f1424668eb200ff5544bc21f5cea6151e4b3