From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1723423-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6E7FB1582EF
	for <garchives@archives.gentoo.org>; Mon, 03 Mar 2025 11:09:56 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 562113430FB
	for <garchives@archives.gentoo.org>; Mon, 03 Mar 2025 11:09:56 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 554951102D0;
	Mon, 03 Mar 2025 11:09:55 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 4633B1102D0
	for <gentoo-commits@lists.gentoo.org>; Mon, 03 Mar 2025 11:09:55 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E16B13430FB
	for <gentoo-commits@lists.gentoo.org>; Mon, 03 Mar 2025 11:09:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7999C27E4
	for <gentoo-commits@lists.gentoo.org>; Mon, 03 Mar 2025 11:09:53 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1741000163.dd8da3bad7e4c149502cb8cda2e472d4c133fbf4.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-java/rhino/rhino-1.8.0.ebuild
X-VCS-Directories: dev-java/rhino/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: dd8da3bad7e4c149502cb8cda2e472d4c133fbf4
X-VCS-Branch: master
Date: Mon, 03 Mar 2025 11:09:53 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 01d24ebf-9916-4e9d-b348-08c69f483119
X-Archives-Hash: 8176c846885d8fc0b0ab8cf6e9c493ab

commit:     dd8da3bad7e4c149502cb8cda2e472d4c133fbf4
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Mar  3 08:50:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  3 11:09:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8da3ba

dev-java/rhino: sort variables, explain dependency changes in 1.8.0

For rhino-1.8.0, dependencies had to be lifted to >=virtual/jdk-11:*
and >=virtual/jre-11:*. Using jre-11:* now produces class file version
55.0 instead of 52.0 which leads to bug #950479 and others.

This commit adds comments explaining why the higher java version is
needed.

Bug: https://bugs.gentoo.org/950479
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/rhino/rhino-1.8.0.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-java/rhino/rhino-1.8.0.ebuild b/dev-java/rhino/rhino-1.8.0.ebuild
index 1e73235ca11c..b4f7f9266e63 100644
--- a/dev-java/rhino/rhino-1.8.0.ebuild
+++ b/dev-java/rhino/rhino-1.8.0.ebuild
@@ -15,10 +15,18 @@ SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz
 S="${WORKDIR}/rhino-Rhino${PV//./_}_Release"
 
 LICENSE="MPL-1.1 GPL-2"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
 SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+# error: package jdk.dynalink does not exist
+# error: package jdk.dynalink.linker does not exist
+# error: package jdk.dynalink.linker.support does not exist
+DEPEND=">=virtual/jdk-11"
 
-DEPEND=">=virtual/jdk-11:*"
+# rhino/src/main/java/org/mozilla/javascript/Slot.java:29: error: cannot find symbol
+#         var newSlot = new Slot(this);
+#         ^
+#   symbol:   class var
 RDEPEND=">=virtual/jre-11:*"
 
 DOCS=( {CODE_OF_CONDUCT,README,RELEASE-NOTES,RELEASE-STEPS}.md {NOTICE-tools,NOTICE}.txt )