summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-02-17 10:18:57 +0000
committerVladimir Marko <vmarko@google.com>2017-02-17 10:27:34 +0000
commit85bef97df9019dd4aa27e00437198952b41d2a62 (patch)
tree12563d16e25981191cb0c9f4db794031aa21e212 /compiler/optimizing/graph_visualizer.cc
parent1fed1dc7b1ea75b0465c0b2b3457718aab5a0f34 (diff)
Tests for String.setCharAt() breaking string compression.
With string compression, all compressible strings must be compressed. The internal API String.setCharAt() can break that invariant when overwriting a non-ASCII character with an ASCII character, turning an uncompressible string into a compressible one. It can also truncate a non-ASCII character written to a compressed string. These regression tests check the public API that exposes the problem. Submitting these tests (without a fix) shall prevent us from enabling string compression before it's ready. Test: testrunner.py --host -t 021-string2 Test: Manually check that new asserts fail with string compression. Bug: 31040547 Change-Id: I66f27a73f273f7648acbdf1b601345711f37c85e
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions