Bug#874140: FTBFS with Java 9(?): filename encoding

Chris West solo-debianbugs at goeswhere.com
Sun Sep 3 15:37:18 UTC 2017


Source: snakeyaml
Version: 1.17
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

This package has a class with intentionally bad encoding in its
filename. I don't know if it's failing to build just on my builder,
or if it's a Java 9 change. But it does fail every time, at least.

Build log:

[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ snakeyaml ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 416 source files to /build/snakeyaml-1.17/target/test-classes
Use of target 1.5 is no longer supported, switching to 1.7
Use of source 1.5 is no longer supported, switching to 1.7
[INFO] /build/snakeyaml-1.17/src/test/java/examples/jodatime/JodaTimeExampleTest.java: Some input files use or override a deprecated API.
[INFO] /build/snakeyaml-1.17/src/test/java/examples/jodatime/JodaTimeExampleTest.java: Recompile with -Xlint:deprecation for details.
[INFO] /build/snakeyaml-1.17/src/test/java/org/yaml/snakeyaml/array/PrimitiveArrayTest.java: /build/snakeyaml-1.17/src/test/java/org/yaml/snakeyaml/array/PrimitiveArrayTest.java uses unchecked or unsafe operations.
[INFO] /build/snakeyaml-1.17/src/test/java/org/yaml/snakeyaml/array/PrimitiveArrayTest.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/snakeyaml-1.17/src/test/java/org/yaml/snakeyaml/issues/issue67/NonAsciiCharsInClassNameTest.java:[63,19] error while writing org.yaml.snakeyaml.issues.issue67.NonAsciiCharsInClassNameTest.Acad?mico: bad filename RelativeFile[org/yaml/snakeyaml/issues/issue67/NonAsciiCharsInClassNameTest$Acad?mico.class]
[INFO] 1 error
[INFO] -------------------------------------------------------------


Cheers,
Chris.



More information about the pkg-java-maintainers mailing list