[
https://issues.apache.org/jira/browse/AVRO-3306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476430#comment-17476430
]
ASF subversion and git services commented on AVRO-3306:
-------------------------------------------------------
Commit ed74ad96676ee98372d660a902460aaabc30210d in avro's branch
refs/heads/branch-1.11 from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=ed74ad9 ]
AVRO-3306: Java: Build failure with JDK 18+ (#1459)
Ignore compilation warnings that member fields are not Serializable
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit 006f7c5ac462ab300747e367983a7223c4aa1365)
> 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
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)