android-platform-external-doclava: FTBFS with OpenJDK 17 due to com.sun.javadoc removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
android-platform-external-doclava (Debian) |
New
|
Unknown
|
|||
android-platform-external-doclava (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
ndroid-
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.
/<<PKGBUILDDI
import com.sun.
/<<PKGBUILDDI
public ClassInfo(ClassDoc cl, String rawCommentText, SourcePositionInfo position,
symbol: class ClassDoc
location: class ClassInfo
/<<PKGBUILDDI
private ClassDoc mClass;
^
symbol: class ClassDoc
location: class ClassInfo
/<<PKGBUILDDI
public PackageInfo(
symbol: class PackageDoc
location: class PackageInfo
/<<PKGBUILDDI
private PackageDoc mPackage;
^
symbol: class PackageDoc
location: class PackageInfo
/<<PKGBUILDDI
import com.sun.javadoc.*;
^
/<<PKGBUILDDI
public static RootDoc root;
^
symbol: class RootDoc
location: class Doclava
/<<PKGBUILDDI
public static boolean start(RootDoc r) {
symbol: class RootDoc
location: class Doclava
Related branches
- Pushkar Kulkarni (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 78 lines (+14/-7)4 files modifieddebian/changelog (+7/-0)
debian/control (+5/-4)
debian/launcher/doclava (+1/-1)
debian/patches/build_script.diff (+1/-2)
Changed in android-platform-external-doclava (Debian): | |
status: | Unknown → New |
tags: | added: ftbfs |
The issue is resolved with new upstream release from git clone https:/ /android. googlesource. com/platform/ external/ doclava
I have tried to build it with Java 21 and it is failing due to missing exports.
Building with Java 17 has the same issue.
Also upgrade will require a new upstream release/ffe.
Discussed with mwhudson - the "temporary" Ubuntu-only solution will be to depend on openjdk-8 explicitly.