Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
4.0
-
None
-
None
-
GNU/Linux Ubuntu 15.10 64 bits, OpenJDK 1.8.0_65
-
Important
Description
When you put a (key,value) pair in a PassiveExpiringMap and the key is byte[] you can't retrieve it.
Code to reproduce the problem:
byte[] key =
{0,0,0,1};PassiveExpiringMap<byte[],byte[]> map = new PassiveExpiringMap<byte[],byte[]> ();
map.put(key,key);
byte[] queryKey = {0,0,0,1}
;
//this should be true
map.containsKey(queryKey) == false