Bug#981986: libcommons-jexl3-java: FTBFS with OpenJDK 17: module java.xml does not export com.sun.org.apache.xerces.internal.dom to unnamed module

Emmanuel Bourg ebourg at apache.org
Fri Feb 5 14:37:54 GMT 2021


Source: libcommons-jexl3-java
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

libcommons-jexl3-java fails to build with OpenJDK, ArithmeticTest.testXmlArithmetic() throws an error:


  [ERROR] Tests run: 41, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.098 s <<< FAILURE! - in org.apache.commons.jexl3.ArithmeticTest
  [ERROR] testXmlArithmetic(org.apache.commons.jexl3.ArithmeticTest)  Time elapsed: 0.045 s  <<< ERROR!
  org.apache.commons.jexl3.JexlException$Property: org.apache.commons.jexl3.ArithmeticTest.testXmlArithmetic at 1:12 unsolvable property 'info'
          at org.apache.commons.jexl3.ArithmeticTest.testXmlArithmetic(ArithmeticTest.java:1175)
  Caused by: java.lang.IllegalAccessException: class org.apache.commons.jexl3.internal.introspection.IndexedType cannot access class com.sun.org.apache.xerces.internal.dom.ElementImpl (in module java.xml) beca
  use module java.xml does not export com.sun.org.apache.xerces.internal.dom to unnamed module @2ee4f460
          at org.apache.commons.jexl3.ArithmeticTest.testXmlArithmetic(ArithmeticTest.java:1175)



More information about the pkg-java-maintainers mailing list