[infinispan-issues] [JBoss JIRA] (IPROTO-103) Not possible to have @Protofield of type List<byte[]>
Ryan Emerson (Jira)
issues at jboss.org
Thu Jul 18 11:04:00 EDT 2019
Ryan Emerson created IPROTO-103:
-----------------------------------
Summary: Not possible to have @Protofield of type List<byte[]>
Key: IPROTO-103
URL: https://issues.jboss.org/browse/IPROTO-103
Project: Infinispan ProtoStream
Issue Type: Bug
Reporter: Ryan Emerson
{code:java}
static final class ExpiryBucket {
@ProtoField(number = 1, collectionImplementation = ArrayList.class)
List<byte[]> entries;
ExpiryBucket() {}
ExpiryBucket(byte[]... entries) {
this.entries = Arrays.asList(entries);
}
}
{code}
Error:
{code:java}
PersistenceContextInitializer.java:[19,1] org.infinispan.protostream.annotations.ProtoSchemaBuilderException: The class byte[] must be instantiable using an accessible no-argument constructor.
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list