GNU bug report logs -
#53934
OpenJDK doesn't have a doclet
Previous Next
Reported by: Igor Gajsin <igor <at> gajsin.name>
Date: Thu, 10 Feb 2022 23:38:01 UTC
Severity: normal
Done: Michael Rohleder <mike <at> rohleder.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Openjdk has two outputs: out and jdk. The default output contains only
what's necessary to *run* a Java application, while the jdk output
contains that *in addition* to what's needed to build Java applications
(javac, ...). I'm not knowledgeable enough to know if javadoc or doclet
need to be in the default output or not. Aren't they used only when
developping or building Java code?
Le Mon, 14 Feb 2022 22:26:27 +0100,
Igor Gajsin <igor <at> gajsin.name> a écrit :
> I narrowed down where the problem arise and found the exact bugreport:
> https://github.com/clojure-emacs/orchard/issues/117#issuecomment-859987280
>
> Unfortunately, I didn't get the solution 'one has to use ONLY the
> package "openjdk:jdk"'. What does it mean?
>
> Also, why openjdk removes javadoc, is it a bug or a correct behaviour?
>
> Michael Rohleder <mike <at> rohleder.de> writes:
>
> > [[PGP Signed Part:Undecided]]
> > Igor Gajsin <igor <at> gajsin.name> writes:
> >> There is a problem with openjdk (all versions 10 to 17). When I run
> >> cider (emacs mode for clojure) it complains about:
> >> java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet
> >>
> >> when I try to set icedtea there is no such problem. If I
> >> understand well doclet is a part of JDK so it shoulb be part of a
> >> modern openjdk installation.
> >
> > I haven't tried, but maybe adding a file "module-info.java" with the
> > content "requires jdk.javadoc" to your project might help. [1]
> >
> > [1]
> > https://stackoverflow.com/questions/65683365/why-cant-i-import-the-jdk-javadoc-doclet-package
> >
>
>
This bug report was last modified 3 years and 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.