[JBoss JIRA] (IPROTO-122) JDK version check in the annotation processor fails on Openjdk 13
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-122?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated IPROTO-122:
---------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Merged in master. To be released in 4.3.1.Final
> JDK version check in the annotation processor fails on Openjdk 13
> -----------------------------------------------------------------
>
> Key: IPROTO-122
> URL: https://issues.jboss.org/browse/IPROTO-122
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Final
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 4.3.1.Final
>
>
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.getJavaMajorVersion (AutoProtoSchemaBuilderAnnotationProcessor.java:209)
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.process (AutoProtoSchemaBuilderAnnotationProcessor.java:165)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:1023)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (IPROTO-122) JDK version check in the annotation processor fails on Openjdk 13
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-122?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated IPROTO-122:
---------------------------------
Fix Version/s: 4.3.1.Final
> JDK version check in the annotation processor fails on Openjdk 13
> -----------------------------------------------------------------
>
> Key: IPROTO-122
> URL: https://issues.jboss.org/browse/IPROTO-122
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Final
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 4.3.1.Final
>
>
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.getJavaMajorVersion (AutoProtoSchemaBuilderAnnotationProcessor.java:209)
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.process (AutoProtoSchemaBuilderAnnotationProcessor.java:165)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:1023)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (IPROTO-122) JDK version check in the annotation processor fails on Openjdk 13
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-122?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated IPROTO-122:
---------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/protostream/pull/84
> JDK version check in the annotation processor fails on Openjdk 13
> -----------------------------------------------------------------
>
> Key: IPROTO-122
> URL: https://issues.jboss.org/browse/IPROTO-122
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Final
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
>
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.getJavaMajorVersion (AutoProtoSchemaBuilderAnnotationProcessor.java:209)
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.process (AutoProtoSchemaBuilderAnnotationProcessor.java:165)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:1023)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (IPROTO-122) JDK version check in the annotation processor fails on Openjdk 13
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-122?page=com.atlassian.jira.plugin... ]
Work on IPROTO-122 started by Nistor Adrian.
--------------------------------------------
> JDK version check in the annotation processor fails on Openjdk 13
> -----------------------------------------------------------------
>
> Key: IPROTO-122
> URL: https://issues.jboss.org/browse/IPROTO-122
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Final
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
>
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.getJavaMajorVersion (AutoProtoSchemaBuilderAnnotationProcessor.java:209)
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.process (AutoProtoSchemaBuilderAnnotationProcessor.java:165)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:1023)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (IPROTO-122) JDK version check in the annotation processor fails on Openjdk 13
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-122?page=com.atlassian.jira.plugin... ]
Nistor Adrian reassigned IPROTO-122:
------------------------------------
Assignee: Nistor Adrian
> JDK version check in the annotation processor fails on Openjdk 13
> -----------------------------------------------------------------
>
> Key: IPROTO-122
> URL: https://issues.jboss.org/browse/IPROTO-122
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Final
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
>
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.getJavaMajorVersion (AutoProtoSchemaBuilderAnnotationProcessor.java:209)
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.process (AutoProtoSchemaBuilderAnnotationProcessor.java:165)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:1023)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (IPROTO-120) Null collection fields always unmarshalled as empty collection implementation
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-120?page=com.atlassian.jira.plugin... ]
Work on IPROTO-120 started by Nistor Adrian.
--------------------------------------------
> Null collection fields always unmarshalled as empty collection implementation
> -----------------------------------------------------------------------------
>
> Key: IPROTO-120
> URL: https://issues.jboss.org/browse/IPROTO-120
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Reporter: Ryan Emerson
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 4.3.0.Final
>
>
> The following Pojo always returns an empty collection after being unmarshalled, regardless of whether {{stringList}} was null or empty when marshalled.
> {code:java}
> public class SomePojo {
> @ProtoField(number = 1, collectionImplementation = ArrayList.class)
> final List<String> stringList;
> @ProtoFactory
> public SomePojo(List<String> stringList) {
> this.stringList = stringList;
> }
> }
> {code}
> This is because the generated marshaller always creates the collection instance before attempting to read the collection content:
> {code:java}
> java.util.ArrayList __c$1 = new java.util.ArrayList();
> boolean done = false;
> while (!done) {
> final int tag = $2.readTag();
> switch (tag) {
> case 0:
> done = true;
> break;
> case 10: {
> java.lang.String __v$1 = $2.readString();
> __c$1.add(__v$1);
> break;
> }
> default: {
> if (!$2.skipField(tag)) done = true;
> }
> }
> }
>
> return new org.infinispan.query.dsl.embedded.testdomain.hsearch.SomePojo(__c$1);
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (IPROTO-122) JDK version check in the annotation processor fails on Openjdk 13
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-122?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated IPROTO-122:
---------------------------------
Status: Open (was: New)
> JDK version check in the annotation processor fails on Openjdk 13
> -----------------------------------------------------------------
>
> Key: IPROTO-122
> URL: https://issues.jboss.org/browse/IPROTO-122
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Final
> Reporter: Nistor Adrian
> Priority: Major
>
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.getJavaMajorVersion (AutoProtoSchemaBuilderAnnotationProcessor.java:209)
> at org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.process (AutoProtoSchemaBuilderAnnotationProcessor.java:165)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:1023)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months