JVM 21 LTS is now out.

So I decided to try to building Daffodil using it. My WIP PR is
https://github.com/apache/daffodil/pull/1090

It looks pretty close.

The --release 8 option for javac is now deprecated. So I conditionalized
that.
Fixed some deprecated calls.

Remaining issues:

2 more deprecated calls (hence fatal warnings turned off for now)

5 tests fail. One each in these 3 test classes

org.apache.daffodil.TresysTests.test_BG000
org.apache.daffodil.section13.text_number_props.TestTextNumberProps.test_textNumberPattern_exponent01

org.apache.daffodil.section05.simple_types.TestSimpleTypes.test_double_binary_06

All 3 of those failures are floating point related like this: (highlighted
digit isn't output any more)

[error] Expected (attributes stripped)
[error]    <d_02>9.8765432109876544E16</d_02>
[error] Actual (attributes ignored for diff)
[error] <ex:d_02>9.876543210987654E16</ex:d_02>

The Expected has one more digit 4 at the end.

1 other test failure is for reasons unknown. Possible change in regex
behavior?

org.apache.daffodil.io.layers.TestJavaIOStreams.testBase64ScanningForDelimiter1

One CLI test failure:

org.apache.daffodil.cli.cliTest.TestEXIEncodeDecode.test_CLI_Encode_Decode_EXI

Reply via email to