OSDN Git Service

Fix 626-const-class-linking for no-dex2oat configuration.
authorVladimir Marko <vmarko@google.com>
Tue, 22 Nov 2016 13:18:00 +0000 (13:18 +0000)
committerVladimir Marko <vmarko@google.com>
Tue, 22 Nov 2016 13:20:27 +0000 (13:20 +0000)
commit0ba0c7d9b0328af39a385014652eb9af4e42d8b5
tree7092bb3d3cf82dfa6b7167622149faab31c7c2a3
parent71d15102b52af67e8fe1193192aa2b4cd1956ae0
Fix 626-const-class-linking for no-dex2oat configuration.

For this configuration, the MisbehavingLoader.loadClass()
is called twice, so we cannot rely on printing the message
exactly once.

Test: m ART_TEST_RUN_TEST_NO_DEX2OAT=true \
      test-art-host-run-test-626-const-class-linking
Bug: 30627598
Change-Id: I6daecb52efc1d25fc5cf796f8aef726666e97c8b
test/626-const-class-linking/expected.txt
test/626-const-class-linking/src/MisbehavingLoader.java