Hi, we seem to have a problem with JAXB in Java 9+.
I'm currently working on something else (OPOIFS removal) and I don't want to keep this info longer unnoticed, so maybe someone else has time to validate/verify. Andi Le 26/07/2018 à 23:32, Andreas Beeker a écrit : > Actually I would like to fix this before POI 4.0.0 gets out ... it will take > another few months > until we release 4.0.x. I tried building POI 4.0 with OpenJDK 10.0.2 and I got some JAXB related errors. I don't know if this error is already known to POI developers. JAXB is not on the default classpath since Java 9, and it'll be completely removed in Java 11. I added the following jars in the lib directory and modified the classpath in build.xml to suppress the errors: lib/activation-1.1.1.jar lib/jaxb-api-2.3.0.jar lib/jaxb-core-2.3.0.1.jar lib/jaxb-runtime-2.3.0.1.jar lib/istack-commons-runtime-3.0.5.jar Unfortunately I hit a test failure after that, I'm not sure to understand what is causing it: org.junit.ComparisonFailure: format "dddd-mmmm-yyyy" expected:<"Sat[urday-October]-1952"> but was:<"Sat[-Oct]-1952"> at org.junit.Assert.assertEquals(Assert.java:115) at org.apache.poi.ss.format.CellFormatTestBase$CellValue.equivalent(CellFormatTestBase.java:94) at org.apache.poi.ss.format.CellFormatTestBase.tryColor(CellFormatTestBase.java:246) at org.apache.poi.ss.format.CellFormatTestBase.tryFormat(CellFormatTestBase.java:220) at org.apache.poi.ss.format.CellFormatTestBase.runFormatTests(CellFormatTestBase.java:128) at org.apache.poi.ss.format.TestCellFormatPart.testDateFormat(TestCellFormatPart.java:109)
signature.asc
Description: OpenPGP digital signature
