[
https://issues.apache.org/jira/browse/AVRO-3306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475998#comment-17475998
]
ASF subversion and git services commented on AVRO-3306:
-------------------------------------------------------
Commit 0cb2a7790e8d6ece00ef03db96737c598b2df0bf in avro's branch
refs/heads/avro-3306-fix-build-with-jdk18 from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=0cb2a77 ]
AVRO-3306: Java: Build failure with JDK 18+
Ignore compilation warnings that member fields are not Serializable
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
> Java: Build failure with JDK 18+
> --------------------------------
>
> Key: AVRO-3306
> URL: https://issues.apache.org/jira/browse/AVRO-3306
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Minor
>
> Few SpecificCompiler tests fail due to new warnings produced by the
> compilation because the class Serializable but some of its fields are not.
> For example: if the string type is CharSequence then such kind of warning is
> printed:
> {code}
> warning: [serial] non-transient instance field of a serializable class
> declared with a non-serializable type
> private java.lang.CharSequence sf_97;
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)