From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4DLOI+HcCmLTcQEAgWs5BA (envelope-from ) for ; Mon, 14 Feb 2022 23:51:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YmOhHOHcCmJsAgEAG6o9tA (envelope-from ) for ; Mon, 14 Feb 2022 23:51:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B22873F4C7 for ; Mon, 14 Feb 2022 23:51:12 +0100 (CET) Received: from localhost ([::1]:49190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJkBb-0008Dd-2Q for larch@yhetil.org; Mon, 14 Feb 2022 17:51:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJkBS-0008DT-6k for bug-guix@gnu.org; Mon, 14 Feb 2022 17:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJkBR-0003Mm-TG for bug-guix@gnu.org; Mon, 14 Feb 2022 17:51:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJkBR-0000fm-Sv for bug-guix@gnu.org; Mon, 14 Feb 2022 17:51:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53934: OpenJDK doesn't have a doclet Resent-From: Igor Gajsin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Feb 2022 22:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53934 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Received: via spool by 53934-submit@debbugs.gnu.org id=B53934.16448790502567 (code B ref 53934); Mon, 14 Feb 2022 22:51:01 +0000 Received: (at 53934) by debbugs.gnu.org; 14 Feb 2022 22:50:50 +0000 Received: from localhost ([127.0.0.1]:42933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJkBF-0000fK-QX for submit@debbugs.gnu.org; Mon, 14 Feb 2022 17:50:50 -0500 Received: from smtp.gajsin.name ([95.85.13.205]:33678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJkBD-0000fA-Rj for 53934@debbugs.gnu.org; Mon, 14 Feb 2022 17:50:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gajsin.name ; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-reply-to:Date:Subject:Cc:To:From:References:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5cLrLEbH/EysdZXqO3rVlcP514U/O7LEzXOYjPXlJ2I=; b=iMDPEW3a1cHBCoU2EOXDTqSmJO b0tuwEU7QzffwQrZ7MaYzrmRDFOWbRjzbkYAJ4aLaTcy9awVnpVochl+x2YgICBtT8tPgA0q/LCLe u1Tmm6Lyw6OR1HR3iLmOMyyVyKEJmuAmDI5eVlulkBzm/JWmQahLNYCGFraVzBrgqzMg=; Received: from [84.143.155.112] (helo=pas) by smtp.gajsin.name with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1nJkBB-0003HH-21; Mon, 14 Feb 2022 22:50:45 +0000 References: <87h796fg65.fsf@gajsin.name> <87zgmumjxv.fsf@rohleder.de> <874k51f894.fsf@gajsin.name> <20220214223508.7e54b7f0@sybil.lepiller.eu> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Igor Gajsin Date: Mon, 14 Feb 2022 23:49:07 +0100 In-reply-to: <20220214223508.7e54b7f0@sybil.lepiller.eu> Message-ID: <87zgmtdpvf.fsf@gajsin.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 53934@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644879073; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5cLrLEbH/EysdZXqO3rVlcP514U/O7LEzXOYjPXlJ2I=; b=s9qpSatZx0mQ9A2u9UJbsxigUGggoA+mNHzuYtMud1qLWhzkVmnaJT8nZJU0sQeJZyGKFc mEHwGVmH3hH2WyB/XtmWk6xX64DiftEW8PZxVRORv2qU94wcQxoWkTqI0FpSsvQXyLr4Cz GwXcDcFyuPYmkonA/dMrwOq6rb9tZYTUQERv/LSqTc3FC65+luqoXHiVNTiBHlAe0l0yZt +nwYF4SrWo7xBzxEBSWZYiI62UZHCl0rqHFjdSN0rpj7ebEHD9fknrxLt1bifPLi/7zIVr afxUPhz7w7opPNaXmXK+IbvuWt+enaY9jHRyqRl8BNli2vBhdpmKcLM/NNLvTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644879073; a=rsa-sha256; cv=none; b=Z1Wmg8GGHdMDgYewN5+BmeC4enYfzq60ZqCdkizBCLlVdSIq3tuUiPYdINB9Loq2nqD5wE wj1QmQ5duPcvnmk2FC6yzWp1FA7NvHFjr7VnfPZlM2fBobv0TR5EtWMRChloRHb19GS86W yiOp1NsAjP6qEI8pPsTA46wFaADR0qcwm9TkAp7NZStdbmQrplrD7H1iXEzSJ/qrIbr+wK IwmfSAccdbI+1OZ9WxHfFcJY7w8tLTcYE6d4Rac37HX9BFlM+hwoxYwCH9kW3JGmKZUDeg 002npAfGtz8ENUsdd7RyIFxJ+/UDM7XjOG+2LPwlfNmw7uhoQZJQxrqc9pmR5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gajsin.name header.s=x header.b=iMDPEW3a; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gajsin.name header.s=x header.b=iMDPEW3a; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B22873F4C7 X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: fHGf4H6qrIoh > Aren't they used only when developping or building Java code? I'm pretty new in java, so can't answer. My case, I need it for cider (ide like slime, but for clojure), so that's a "developing" case. But maybe there is a use-case for running too, I don't know. Julien Lepiller writes: > 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 a =C3=A9crit : > >> I narrowed down where the problem arise and found the exact bugreport: >> https://github.com/clojure-emacs/orchard/issues/117#issuecomment-8599872= 80 >>=20 >> Unfortunately, I didn't get the solution 'one has to use ONLY the >> package "openjdk:jdk"'. What does it mean? >>=20 >> Also, why openjdk removes javadoc, is it a bug or a correct behaviour? >>=20 >> Michael Rohleder writes: >>=20 >> > [[PGP Signed Part:Undecided]] >> > Igor Gajsin writes:=20=20 >> >> 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.=20=20 >> > >> > 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 >> >=20=20 >>=20 >>=20 --=20 With best regards, Igor Gajsin