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/13 11:40:00 UTC

[jira] [Resolved] (AVRO-3123) Avro tools tests break with Java 17 break due to difference on File generation

     [ https://issues.apache.org/jira/browse/AVRO-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Tzvetanov Grigorov resolved AVRO-3123.
---------------------------------------------
      Assignee: Martin Tzvetanov Grigorov
    Resolution: Cannot Reproduce

I didn't face any problems with this test with JDK 17.
Also Github Actions now test against JDK 17 and all is green!

> Avro tools tests break with Java 17 break due to difference on File generation
> ------------------------------------------------------------------------------
>
>                 Key: AVRO-3123
>                 URL: https://issues.apache.org/jira/browse/AVRO-3123
>             Project: Apache Avro
>          Issue Type: Sub-task
>          Components: java
>            Reporter: Ismaël Mejía
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>
> TestSpecificCompilerTool.testCompileProtocol concretely fails
> [ERROR] org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaWithExcludedSetters Time elapsed: 0.034 s <<< FAILURE!
> org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/NoSettersTest.java does not match expected file: src/test/compiler/output/NoSettersTest.java expected:<...ODER.decode(b); } [private java.lang.CharSequence name;] private java.lang....> but was:<...ODER.decode(b); } [ private java.lang.CharSequence name; ] private java.lang....>
>  at org.junit.Assert.assertEquals(Assert.java:117)
>  at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:226)
>  at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaWithExcludedSetters(TestSpecificCompilerTool.java:99)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)