[Android-tools-devel] Bug#1012103: android-platform-external-doclava: FTBFS with OpenJDK 17 due to com.sun.javadoc removal
Emmanuel Bourg
ebourg at apache.org
Mon May 30 09:31:34 BST 2022
Source: android-platform-external-doclava
Version: 6.0.1+r55-1.1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
android-platform-external-doclava because it uses classes from
the com.sun.javadoc package which was removed:
:compileJava
Putting task artifact state for task ':compileJava' into context took 0.0 secs.
Up-to-date check for task ':compileJava' took 0.447 secs. It is not up-to-date because:
No history is available.
All input files are considered out-of-date for incremental task ':compileJava'.
Compiling with JDK Java compiler API.
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
/<<PKGBUILDDIR>>/src/com/google/doclava/ClassInfo.java:20: error: package com.sun.javadoc does not exist
import com.sun.javadoc.ClassDoc;
^
/<<PKGBUILDDIR>>/src/com/google/doclava/ClassInfo.java:91: error: cannot find symbol
public ClassInfo(ClassDoc cl, String rawCommentText, SourcePositionInfo position,
^
symbol: class ClassDoc
location: class ClassInfo
/<<PKGBUILDDIR>>/src/com/google/doclava/ClassInfo.java:1849: error: cannot find symbol
private ClassDoc mClass;
^
symbol: class ClassDoc
location: class ClassInfo
/<<PKGBUILDDIR>>/src/com/google/doclava/PackageInfo.java:34: error: cannot find symbol
public PackageInfo(PackageDoc pkg, String name, SourcePositionInfo position) {
^
symbol: class PackageDoc
location: class PackageInfo
/<<PKGBUILDDIR>>/src/com/google/doclava/PackageInfo.java:291: error: cannot find symbol
private PackageDoc mPackage;
^
symbol: class PackageDoc
location: class PackageInfo
/<<PKGBUILDDIR>>/src/com/google/doclava/PackageInfo.java:21: error: package com.sun.javadoc does not exist
import com.sun.javadoc.*;
^
/<<PKGBUILDDIR>>/src/com/google/doclava/Doclava.java:81: error: cannot find symbol
public static RootDoc root;
^
symbol: class RootDoc
location: class Doclava
/<<PKGBUILDDIR>>/src/com/google/doclava/Doclava.java:145: error: cannot find symbol
public static boolean start(RootDoc r) {
^
symbol: class RootDoc
location: class Doclava
More information about the Android-tools-devel
mailing list