]
Nistor Adrian updated IPROTO-126:
---------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Fixed, to be released in 4.3.2.Final
JDK version check in the annotation processor fails on JDK 14-ea /
15-ea
------------------------------------------------------------------------
Key: IPROTO-126
URL:
https://issues.redhat.com/browse/IPROTO-126
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.3.1.Final
Reporter: Rostislav Svoboda
Assignee: Nistor Adrian
Priority: Major
Fix For: 4.3.2.Final
JDK version check in the annotation processor fails on JDK 14-ea / 15-ea
Currently
https://github.com/infinispan/protostream/blob/master/processor/src/main/...
can't handle {{XY-ea}} builds of JDK
{code}
Caused by: java.lang.NumberFormatException: For input string: "14-ea"
at java.lang.NumberFormatException.forInputString (NumberFormatException.java:68)
at java.lang.Integer.parseInt (Integer.java:652)
at java.lang.Integer.parseInt (Integer.java:770)
at
org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor.getJavaMajorVersion
(AutoProtoSchemaBuilderAnnotationProcessor.java:214)
{code}
Noticed via integration-tests/infinispan-client when trying to verify
https://github.com/quarkusio/quarkus/issues/5554 with latest jdk builds.