Bug#1011548: jameica-h2database: FTBFS with OpenJDK 17 due to com.sun.javadoc removal
Emmanuel Bourg
ebourg at apache.org
Tue May 24 21:03:40 BST 2022
Source: jameica-h2database
Version: 1.4.197-6
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
jameica-h2database fails to build with OpenJDK 17 because it uses classes from
the com.sun.javadoc package which was removed. The doclet is propably useless
and could be disabled.
Compiling 781 classes
src/tools/org/h2/build/doclet/Doclet.java:19: error: package com.sun.javadoc does not exist
import com.sun.javadoc.ClassDoc;
^
src/tools/org/h2/build/doclet/Doclet.java:20: error: package com.sun.javadoc does not exist
import com.sun.javadoc.ConstructorDoc;
^
src/tools/org/h2/build/doclet/Doclet.java:21: error: package com.sun.javadoc does not exist
import com.sun.javadoc.ExecutableMemberDoc;
^
src/tools/org/h2/build/doclet/Doclet.java:22: error: package com.sun.javadoc does not exist
import com.sun.javadoc.FieldDoc;
^
src/tools/org/h2/build/doclet/Doclet.java:23: error: package com.sun.javadoc does not exist
import com.sun.javadoc.LanguageVersion;
^
src/tools/org/h2/build/doclet/Doclet.java:24: error: package com.sun.javadoc does not exist
import com.sun.javadoc.MethodDoc;
^
src/tools/org/h2/build/doclet/Doclet.java:25: error: package com.sun.javadoc does not exist
import com.sun.javadoc.ParamTag;
^
src/tools/org/h2/build/doclet/Doclet.java:26: error: package com.sun.javadoc does not exist
import com.sun.javadoc.Parameter;
^
src/tools/org/h2/build/doclet/Doclet.java:27: error: package com.sun.javadoc does not exist
import com.sun.javadoc.RootDoc;
^
src/tools/org/h2/build/doclet/Doclet.java:28: error: package com.sun.javadoc does not exist
import com.sun.javadoc.Tag;
^
src/tools/org/h2/build/doclet/Doclet.java:29: error: package com.sun.javadoc does not exist
import com.sun.javadoc.ThrowsTag;
^
src/tools/org/h2/build/doclet/Doclet.java:30: error: package com.sun.javadoc does not exist
import com.sun.javadoc.Type;
^
src/tools/org/h2/build/doclet/Doclet.java:52: error: cannot find symbol
public static boolean start(RootDoc root) throws IOException {
^
symbol: class RootDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:56: error: cannot find symbol
private boolean startDoc(RootDoc root) throws IOException {
^
symbol: class RootDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:73: error: cannot find symbol
private static String getClass(ClassDoc clazz) {
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:81: error: cannot find symbol
private void processClass(ClassDoc clazz) throws IOException {
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:283: error: cannot find symbol
private void writeFieldDetails(PrintWriter writer, ClassDoc clazz,
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:284: error: cannot find symbol
FieldDoc field) {
^
symbol: class FieldDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:307: error: cannot find symbol
private void writeMethodDetails(PrintWriter writer, ClassDoc clazz,
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:308: error: cannot find symbol
ExecutableMemberDoc method, String signature) {
^
symbol: class ExecutableMemberDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:403: error: cannot find symbol
private static String getLink(ClassDoc clazz, int line) {
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:412: error: cannot find symbol
private String getFieldLink(String text, String constant, ClassDoc clazz,
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:442: error: cannot find symbol
private static boolean skipField(ClassDoc clazz, FieldDoc field) {
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:442: error: cannot find symbol
private static boolean skipField(ClassDoc clazz, FieldDoc field) {
^
symbol: class FieldDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:449: error: cannot find symbol
private boolean skipMethod(ExecutableMemberDoc method) {
^
symbol: class ExecutableMemberDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:499: error: cannot find symbol
private static Type getReturnType(ExecutableMemberDoc method) {
^
symbol: class ExecutableMemberDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:499: error: cannot find symbol
private static Type getReturnType(ExecutableMemberDoc method) {
^
symbol: class Type
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:514: error: cannot find symbol
private boolean doesOverride(ExecutableMemberDoc method) {
^
symbol: class ExecutableMemberDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:523: error: cannot find symbol
private boolean foundMethod(ClassDoc clazz, boolean include,
^
symbol: class ClassDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:543: error: cannot find symbol
private static String getFirstSentence(Tag[] tags) {
^
symbol: class Tag
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:553: error: cannot find symbol
Type type) {
^
symbol: class Type
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:568: error: cannot find symbol
private static boolean isDeprecated(ExecutableMemberDoc method) {
^
symbol: class ExecutableMemberDoc
location: class Doclet
src/tools/org/h2/build/doclet/Doclet.java:582: error: cannot find symbol
public static LanguageVersion languageVersion() {
^
symbol: class LanguageVersion
location: class Doclet
src/tools/org/h2/build/doclet/ResourceDoclet.java:12: error: package com.sun.javadoc does not exist
import com.sun.javadoc.ClassDoc;
^
src/tools/org/h2/build/doclet/ResourceDoclet.java:13: error: package com.sun.javadoc does not exist
import com.sun.javadoc.Doc;
^
src/tools/org/h2/build/doclet/ResourceDoclet.java:14: error: package com.sun.javadoc does not exist
import com.sun.javadoc.MethodDoc;
^
src/tools/org/h2/build/doclet/ResourceDoclet.java:15: error: package com.sun.javadoc does not exist
import com.sun.javadoc.RootDoc;
^
src/tools/org/h2/build/doclet/ResourceDoclet.java:16: error: package com.sun.javadoc does not exist
import com.sun.javadoc.Tag;
^
src/tools/org/h2/build/doclet/ResourceDoclet.java:37: error: cannot find symbol
public static boolean start(RootDoc root) throws IOException {
^
symbol: class RootDoc
location: class ResourceDoclet
src/tools/org/h2/build/doclet/ResourceDoclet.java:41: error: cannot find symbol
private boolean startDoc(RootDoc root) throws IOException {
^
symbol: class RootDoc
location: class ResourceDoclet
src/tools/org/h2/build/doclet/ResourceDoclet.java:56: error: cannot find symbol
private void processClass(ClassDoc clazz) {
^
symbol: class ClassDoc
location: class ResourceDoclet
src/tools/org/h2/build/doclet/ResourceDoclet.java:68: error: cannot find symbol
private void addResource(String key, Doc doc) {
^
symbol: class Doc
location: class ResourceDoclet
src/tools/org/h2/build/doclet/ResourceDoclet.java:123: error: cannot find symbol
private static boolean isResource(Doc doc) {
^
symbol: class Doc
location: class ResourceDoclet
More information about the pkg-java-maintainers
mailing list