Skip to content

Commit 3019597

Browse files
committed
Bug 35094611 - [35094573->14.1.1.0.13-CE] Harden SafeSortedMap due to several upgrade issues (v14.1.1.0->ce-v14.1.1.0)
Remote remote.full on release/coherence-v14.1.1.0 success, changes 98680, job.9.20230223003105.16742 (auto-submit integ 98680 release/coherence-v14.1.1.0 -> coherence-ce/release/coherence-ce-v14.1.1.0 after successfully running remote remote.full) Job ID: job.9.20230223013239.14484 [git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v14.1.1.0/": change = 98684]
1 parent f301735 commit 3019597

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

prj/coherence-testing-support/src/main/java/com/tangosol/util/BaseMapTest.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,14 @@ public static void testMisc(Map map)
574574
{
575575
if (!(map instanceof OldLiteMap || map instanceof OldCache))
576576
{
577-
testSerializable(map);
578-
testExternalizableLite(map);
577+
// disabled serialization for SafeSortedMap that extends ConcurrentSkipMap.
578+
// ConcurrentSkipMap has custom Java serialization relying on package only access methods.
579+
// SafeSortedMap supports null entry key or value and ConcurrentSkipMap does not.
580+
if (!(map instanceof SafeSortedMap))
581+
{
582+
testSerializable(map);
583+
testExternalizableLite(map);
584+
}
579585
testCloneable(map);
580586
}
581587
}

0 commit comments

Comments
 (0)