Bug#873643: FTBFS with Java 9: removed class

2017-09-27 Thread Emmanuel Bourg
codemodel was moved into jaxb in 2013 [1] and the Java 9 issue have been
addressed upstream earlier this year [2].

With the move to jaxb the groupId and the version number of codemodel
were changed:

  com.sun.codemodel:codemodel:2.6 -> org.glassfish.jaxb:codemodel:2.2.11

src:jaxb should be upgraded to the latest release (2.3.0) and modified
to generate either libcodemodel-java with an epoch (due to the backward
change of the version number) and a pom relocation, or a new codemodel
package (libjaxb-codemodel-java or libglassfish-codemodel-java). Once
this is done src:codemodel can be removed.


[1] https://github.com/javaee/jaxb-v2/commit/46a372cb2
[2] https://github.com/javaee/jaxb-v2/commit/0e09f0ac2

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#873643: FTBFS with Java 9: removed class

2017-08-29 Thread Chris West
Source: libcodemodel-java
Version: 2.6
Severity: normal
User: debian-j...@lists.debian.org
Usertags: default-java9
Tags: fixed-upstream

This package fails to build with default-jdk pointing to openjdk-9-jdk.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

It uses a class which has been "removed" in Java 9.
Upstream removed the reference to this class in 2013:
https://github.com/javaee/jaxb-codemodel/commit/03c826c

Please package a new version, or backport the fix.



Build log:

[ERROR] Exit code: 1 - 
/build/libcodemodel-java-2.6/codemodel/src/main/java/com/sun/codemodel/util/SingleByteEncoder.java:53:
 error: package sun.nio.cs is not visible
[ERROR] import sun.nio.cs.Surrogate;
[ERROR]   ^
[ERROR]   (package sun.nio.cs is declared in module java.base, which does not 
export it to the unnamed module)


Cheers,
Chris.

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.