-
Bug
-
Resolution: Fixed
-
P3
-
repo-valhalla
-
Some Collection tests assume that wrapper classes instances have identity. When run with Valhalla migrated classes, those instances don't have identity anymore, causing the tests to fail.
Impacted tests:
- java/util/Collections/CheckedIdentityMap.java
- java/util/Collections/CheckedListBash.javaStack trace:
java.lang.RuntimeException: Iterator.set failed to change value. at CheckedListBash.fail(CheckedListBash.java:231) at CheckedListBash.main(CheckedListBash.java:156) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)
Some Collection tests assume that wrapper classes instances have identity. When run with Valhalla migrated classes, those instances don't have identity anymore, causing the tests to fail. Impacted tests: - java/util/Collections/CheckedIdentityMap.java - java/util/Collections/CheckedListBash.java Stack trace: java.lang.RuntimeException: Iterator.set failed to change value. at CheckedListBash.fail(CheckedListBash.java:231) at CheckedListBash.main(CheckedListBash.java:156) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)
- links to
-
Commit(lworld) openjdk/valhalla/6c8cc1e9
-
Review(lworld) openjdk/valhalla/1181