Package: src:libbtm-java Severity: important Tags: sid buster User: debian-j...@lists.debian.org Usertags: default-java11
libbtm-java fails to build with Java 11, it's affected by the removal of the CORBA related classes which include the javax.rmi package: [javac] /build/libbtm-java-2.1.4/build.xml:45: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.5 is no longer supported, switching to 6 [javac] Using javac -target 1.5 is no longer supported, switching to 6 [javac] Compiling 136 source files to /build/libbtm-java-2.1.4/dist/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /build/libbtm-java-2.1.4/src/bitronix/tm/resource/jms/JndiXAConnectionFactory.java:29: error: package javax.rmi does not exist [javac] import javax.rmi.PortableRemoteObject; [javac] ^ [javac] /build/libbtm-java-2.1.4/src/bitronix/tm/resource/jms/JndiXAConnectionFactory.java:216: error: cannot find symbol [javac] wrappedFactory = (XAConnectionFactory) PortableRemoteObject.narrow(lookedUpObject, XAConnectionFactory.class); [javac] ^ [javac] symbol: variable PortableRemoteObject [javac] location: class JndiXAConnectionFactory [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 4 warnings