Bug#745099: openmama: FTBFS with Java 8: class MamdaLock is public, should be declared in a file named MamdaLock.java
Source: openmama
Version: 2.2.2.1-10
Severity: important
User: debian-java@lists.debian.org
Usertags: openjdk-8-transition
Hi,
During a rebuild of all Java packages in sid with OpenJDK 8,
your package failed to build with the following error:
compile.locks:
[javac] /«PKGBUILDDIR»/mamda/java/build.xml:145: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to /«PKGBUILDDIR»/mamda/java/classes_orderbook
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
[javac] warning: [options] source value 1.4 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /«PKGBUILDDIR»/mamda/java/temp/com/wombat/mamda/locks/MamdaLock14.java:24: error: class MamdaLock is public, should be declared in a file named MamdaLock.java
[javac] public class MamdaLock
[javac] ^
[javac] /«PKGBUILDDIR»/mamda/java/temp/com/wombat/mamda/locks/MamdaLock15.java:25: error: class MamdaLock is public, should be declared in a file named MamdaLock.java
[javac] public class MamdaLock extends ReentrantReadWriteLock
[javac] ^
[javac] 2 errors
[javac] 4 warnings
The full build log is available from:
http://87.98.165.193/debian/openjdk8-rebuild/logs-failed-jdk8/openmama_2.2.2.1-10_unstable_jdk8.log
You can download OpenJDK 8 packages for testing here:
http://87.98.165.193/debian/openjdk-8u5-b13/
Reply to: