[
https://issues.jboss.org/browse/IPROTO-103?page=com.atlassian.jira.plugin...
]
Tristan Tarrant updated IPROTO-103:
-----------------------------------
Sprint: DataGrid Sprint #31, DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint
#34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37 (was: DataGrid Sprint
#31, DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint #35,
DataGrid Sprint #36)
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
Affects Versions: 4.3.0.Alpha8
Reporter: Ryan Emerson
Assignee: Nistor Adrian
Priority: Major
Fix For: 4.3.0.Alpha9, 4.3.0.Final
{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.13.8#713008)