Bug 1263977

Summary: [GSS](6.5.x) HotRod client try to unmarhall an object on get() no matter whether the put() use a byte[] or not
Product: [JBoss] JBoss Data Grid 6 Reporter: wfink
Component: ServerAssignee: Tristan Tarrant <ttarrant>
Status: VERIFIED --- QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.5.0CC: jdg-bugs
Target Milestone: DR4   
Target Release: 6.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wfink 2015-09-17 08:52:18 UTC
Description of problem:
If a client put an object as byte[] into the cache, which is a self serialized class, the get will return the original class (if it is in the class path) instead of the byte[].
This is incompatible to ISPN5 (<JDG6.3) here the byte[] is returned in any case.

It seems this in unintentional due to the smart 'compatibility' mode at client side
https://github.com/infinispan/infinispan/blob/master/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/marshall/MarshallerUtil.java#L35

Expected results:
return a byte array

Comment 2 JBoss JIRA Server 2015-09-18 06:05:01 UTC
Galder ZamarreƱo <galder.zamarreno> updated the status of jira ISPN-5758 to Coding In Progress