[ https://issues.apache.org/jira/browse/GEODE-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitesh Khamesra updated GEODE-2436: ----------------------------------- Issue Type: Sub-task (was: Improvement) Parent: GEODE-2444 > Geode doesn't handle byte[] as key > ---------------------------------- > > Key: GEODE-2436 > URL: https://issues.apache.org/jira/browse/GEODE-2436 > Project: Geode > Issue Type: Sub-task > Components: regions > Reporter: Hitesh Khamesra > > Geode doesn't handle byte[] as key. "byte[]" doesn't implement > hashcode/equals method, it just returns native hashcode. Because of that > following code returns null for key k2; > {code} > Cache c = CacheFactory.getAnyInstance(); > > Region region = c.getRegion("primitiveKVStore"); > byte[] k1 = new byte[] {1,2}; > > region.put(k1, k1); > byte[] k2 = new byte[] {1,2}; > System.out.println(">>>>>>>>>> " + region.get(k2)); > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)