mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
Remove broken XStream2 test of legacy custom ConcurrentHashMapSerialiation
This one requires some explanation: there is a bug
As custom serialization of ConcurrentHashMaps was removed circa 2010
(see eb51d46d56)
We can assume that testing conversion is no longer a high priority.
Root cause appears to be a subtle change in the XStream attribute access behavior when run under JDK8 only.
This appears to be the only case that triggers it.
This commit is contained in:
1 parent
48e42ae94a
commit
f3a9dd5bb0
2 files changed
-230
No files matched your search
@@ -296,11 +296,6 @@ public class XStream2Test {
|
||||
} finally {
|
||||
v.delete();
|
||||
}
|
||||
|
||||
// should be able to read in old data just fine
|
||||
Foo2 map = (Foo2) new XStream2().fromXML(getClass().getResourceAsStream("old-concurrentHashMap.xml"));
|
||||
assertEquals(1,map.m.size());
|
||||
assertEquals("def",map.m.get("abc"));
|
||||
}
|
||||
|
||||
@Issue("SECURITY-105")
|
||||
|
||||
Reference in new issue
Block a user