[lworld] RFR: 8336669: [lworld] Some Collection tests fail when run with migrated classes because they assume wrapper classes instances have identity

Roger Riggs rriggs at openjdk.org
Thu Jul 25 11:35:13 UTC 2024


Updated tests not not assume Integer has identity.

	modified:   test/jdk/java/util/Collection/IteratorAtEnd.java
	modified:   test/jdk/java/util/Collections/CheckedIdentityMap.java
	modified:   test/jdk/java/util/Collections/CheckedListBash.java
	modified:   test/jdk/java/util/HashMap/ToArray.java
	modified:   test/jdk/java/util/Map/Get.java
	modified:   test/jdk/java/util/Map/LockStep.java
	modified:   test/jdk/java/util/Map/ToArray.java

-------------

Commit messages:
 - 8336669: [lworld] Some Collection tests fail when run with migrated classes because they assume wrapper classes instances have identity

Changes: https://git.openjdk.org/valhalla/pull/1181/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1181&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336669
  Stats: 115 lines in 7 files changed: 50 ins; 5 del; 60 mod
  Patch: https://git.openjdk.org/valhalla/pull/1181.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1181/head:pull/1181

PR: https://git.openjdk.org/valhalla/pull/1181


More information about the valhalla-dev mailing list