Ismaël Mejía created AVRO-3123:
----------------------------------
Summary: 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
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.3.4#803005)