Fix a broken test.
This test assumed Integer.toString has no caching.
diff --git a/luni/src/test/java/tests/api/java/util/IdentityHashMapTest.java b/luni/src/test/java/tests/api/java/util/IdentityHashMapTest.java
index 0143479..dec82fd 100644
--- a/luni/src/test/java/tests/api/java/util/IdentityHashMapTest.java
+++ b/luni/src/test/java/tests/api/java/util/IdentityHashMapTest.java
@@ -582,7 +582,8 @@
objArray2 = new Object[hmSize];
for (int i = 0; i < objArray.length; i++) {
objArray[i] = new Integer(i);
- objArray2[i] = objArray[i].toString();
+ // android-changed: the containsKey test requires unique strings.
+ objArray2[i] = new String(objArray[i].toString());
}
hm = new IdentityHashMap();