Bug#875368: FTBFS with Java 9: (mvn) javadoc classpath

Chris West debian at fau.xxx
Sun Sep 10 21:29:35 UTC 2017


Source: hikaricp
Version: 2.6.0-1
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.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

The classpath for the javadoc generation seems to have gone wrong, which
is odd as this is a Maven project. There are a couple of other packages
that have this problem, but not many.

Build log:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) on project HikariCP: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - /build/hikaricp-2.6.0/src/main/java/com/zaxxer/hikari/hibernate/HikariConfigurationUtil.java:22: error: package org.hibernate.cfg does not exist
[ERROR] import org.hibernate.cfg.AvailableSettings;
[ERROR]                         ^
[ERROR] /build/hikaricp-2.6.0/src/main/java/com/zaxxer/hikari/hibernate/HikariConnectionProvider.java:23: error: package org.hibernate does not exist
[ERROR] import org.hibernate.HibernateException;
[ERROR]                     ^



Cheers,
Chris.



More information about the pkg-java-maintainers mailing list