summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2025-03-03 09:50:46 +0100
committerSam James <sam@gentoo.org>2025-03-03 11:09:23 +0000
commitdd8da3bad7e4c149502cb8cda2e472d4c133fbf4 (patch)
tree4f7a1e6f9652a9c7122c2cc650a4db57cc992bc0 /dev-java
parent03196c9df724c8189c17b4615dc9cadc8bf78a9f (diff)
downloadgentoo-dd8da3bad7e4c149502cb8cda2e472d4c133fbf4.tar.gz
gentoo-dd8da3bad7e4c149502cb8cda2e472d4c133fbf4.tar.bz2
gentoo-dd8da3bad7e4c149502cb8cda2e472d4c133fbf4.zip
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@pogatzki.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/rhino/rhino-1.8.0.ebuild12
1 files 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 )