You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2022/01/14 07:18:00 UTC

[jira] [Created] (AVRO-3306) Java: Build failure with JDK 18+

Martin Tzvetanov Grigorov created AVRO-3306:
-----------------------------------------------

             Summary: 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


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)