Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
2.11.5
-
Security Level: Public
-
None
Description
java.lang.UnsupportedOperationException
at java.util.AbstractMap$SimpleImmutableEntry.setValue(AbstractMap.java:759)
at net.spy.memcached.KetamaNodeLocator.getReadonlyCopy(KetamaNodeLocator.java:142)
at net.spy.memcached.MemcachedClient.getNodeLocator(MemcachedClient.java:271)
From: https://stackoverflow.com/questions/12181872/why-java-treemap-entryset-returns-a-set-of-simpleimmutableentry - setValue() can not be used on these objects (try put() instead).
Attachments
For Gerrit Dashboard: SPY-178 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
43040,2 | SPY-178: KetamaNodeLocator#getReadonlyCopy uses unsafe operations. | master | spymemcached | Status: MERGED | +2 | +1 |