Revert "Enable String compression."
The internal API String.setCharAt() is broken
with string compression.
Bug: 31040547
This reverts commit 60d049e21528268e2dcfe36cf6902b1a07a60b93.
Change-Id: I20c05ce4e9af8fa311326f71a2a44d981d60e0ee
diff --git a/ojluni/src/main/java/java/lang/String.java b/ojluni/src/main/java/java/lang/String.java
index 115890e..2d985ca 100644
--- a/ojluni/src/main/java/java/lang/String.java
+++ b/ojluni/src/main/java/java/lang/String.java
@@ -536,7 +536,7 @@
* object.
*/
public int length() {
- final boolean STRING_COMPRESSION_ENABLED = true;
+ final boolean STRING_COMPRESSION_ENABLED = false;
if (STRING_COMPRESSION_ENABLED) {
// For the compression purposes (save the characters as 8-bit if all characters
// are ASCII), the least significant bit of "count" is used as the compression flag.