Bug#981990: aspectj: FTBFS with OpenJDK 17 due to com.sun.javadoc removal
Emmanuel Bourg
ebourg at apache.org
Fri Feb 5 14:59:08 GMT 2021
Source: aspectj
Version: 1.9.2-2
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
aspectj fails to build with OpenJDK 17 because it uses classes from
the com.sun.javadoc package which was removed:
[ajbuild-javac] Compiling 9 source files to /tmp/Builder13844803873097252248tmp/classes-1612464315153
[ajbuild] warning: [options] bootstrap class path not set in conjunction with -source 7
[ajbuild] warning: [options] source value 7 is obsolete and will be removed in a future release
[ajbuild] warning: [options] target value 7 is obsolete and will be removed in a future release
[ajbuild] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[ajbuild] /<<PKGBUILDDIR>>/ajdoc/src/org/aspectj/tools/ajdoc/JavadocRunner.java:35: error: package com.sun.tools.javadoc does not exist
[ajbuild] Class jdMainClass = com.sun.tools.javadoc.Main.class;
[ajbuild] ^
[ajbuild] /<<PKGBUILDDIR>>/ajdoc/src/org/aspectj/tools/ajdoc/JavadocRunner.java:76: error: package com.sun.tools.javadoc does not exist
[ajbuild] Class jdMainClass = com.sun.tools.javadoc.Main.class;
[ajbuild] ^
[ajbuild] /<<PKGBUILDDIR>>/ajdoc/src/org/aspectj/tools/ajdoc/JavadocRunner.java:82: error: package com.sun.tools.javadoc does not exist
[ajbuild] com.sun.tools.javadoc.Main.main(javadocargs);
[ajbuild] ^
[ajbuild] Note: Some input files use unchecked or unsafe operations.
[ajbuild] Note: Recompile with -Xlint:unchecked for details.
[ajbuild] 3 errors
[ajbuild] 4 warnings
More information about the pkg-java-maintainers
mailing list