Bug#873247: FTBFS with Java 9: javax.activation has gone

Chris West solo-debianbugs at goeswhere.com
Fri Aug 25 19:05:06 UTC 2017


Source: xmlstreambuffer
Version: 1.5.4
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.

javax.activation.DataSource has been removed in Java 9.

What are we doing about this? Patching packages to have extra dependencies
on some artifact that provides it? Um...

The wiki currently has a section about this, but no solution.
When there's a solution, please update the wiki so others can copy you:
https://wiki.debian.org/Java/Java9Pitfalls


Build log:

Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
  at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)

Cheers,
Chris.



More information about the pkg-java-maintainers mailing list