]
Paul Ferraro commented on ISPN-7566:
------------------------------------
Is the enforcement of a byte length really necessary? The hibernate 2nd level cache code
can easily generate cache names with byte arrays larger than 127. Why not instead use
ByteString.readObject() throws NegativeArraySizeException when length
> 127
---------------------------------------------------------------------------
Key: ISPN-7566
URL:
https://issues.jboss.org/browse/ISPN-7566
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.0.0.CR2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.CR3
We don't expect or recommend cache names this big, but we should fail at the time the
`ByteString` is created and not at the time it is read by a remote node.