Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12486

Re: Missing com.sum.javadoc

From Pierre Gruet <pgt@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Missing com.sum.javadoc
Date 2022-12-04 23:40 +0100
Message-ID <Fz5Op-8oAB-17@gated-at.bofh.it> (permalink)
References <Fz2xb-8mJ7-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Ole,

Le 04/12/2022 à 19:39, Ole Streicher a écrit :
> Hi,
> 
> I just got a new RC bug [1] for my starjava-ttools package [2] that the package
> starts to FTBFS. The build error [3] is the following:
> 
> ------------------------------8<------------------------------------------
> build:
>      [mkdir] Created dir: /build/1st/starjava-ttools-3.4.7/build/classes
>      [javac] Compiling 955 source files to /build/1st/starjava-ttools-3.4.7/build/classes
>      [javac] /build/1st/starjava-ttools-3.4.7/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:3: error: package com.sun.javadoc does not exist
>      [javac] import com.sun.javadoc.ClassDoc;
>      [javac]                       ^
> [...]
> ------------------------------8<------------------------------------------
> 
> The package build-depends on default-jdk and default-jdk-doc (currently
> openjdk-17). It seems that com.sun.javadoc moved somewhere else. Is
> there a new dependency I need, or something to add to the class path?

Yes, a few weeks ago Debian moved from OpenJDK11 to OpenJDK17 being the 
default JDK and com.sun.javadoc has been removed in between. The code 
using it should be reworked, for instance there is a migration table [4] 
about the replacement of the com.sun.javadoc classes.

> 
> Best regards
> 
> Ole
> 
> [1] https://bugs.debian.org/1025440
> [2] https://tracker.debian.org/pkg/starjava-ttools
> [3]
> https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/starjava-ttools_3.4.7-2.rbuild.log.gz
> 

Best regards,

-- 
Pierre

[4] 
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Missing com.sum.javadoc Ole Streicher <olebole@debian.org> - 2022-12-04 20:10 +0100
  Re: Missing com.sum.javadoc Pierre Gruet <pgt@debian.org> - 2022-12-04 23:40 +0100
    Re: Missing com.sum.javadoc Ole Streicher <olebole@debian.org> - 2022-12-05 08:20 +0100

csiph-web