summaryrefslogtreecommitdiff
path: root/dev-java/rhino
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-java/rhino
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-java/rhino')
-rw-r--r--dev-java/rhino/Manifest1
-rw-r--r--dev-java/rhino/files/rhino-1.9.0-ClassCompilerTest.patch51
-rw-r--r--dev-java/rhino/metadata.xml18
-rw-r--r--dev-java/rhino/rhino-1.9.1.ebuild59
4 files changed, 0 insertions, 129 deletions
diff --git a/dev-java/rhino/Manifest b/dev-java/rhino/Manifest
deleted file mode 100644
index 9bbab8783b5b..000000000000
--- a/dev-java/rhino/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rhino-1.9.1.tar.gz 10666729 BLAKE2B 12da53da07686d0583201ce24a6484735dd7070022e6c4a8a714f83e9e3248cfbaa058c5a57c0d1aa87fb7cfaad5d72de43223082d1ad68e594b8b5bcf48b368 SHA512 0700f7736bc44b795fdc53d2ec714a5b0bd3c99c1314210d3aab0b0e31ffe9e0e9bb865c635a3e8702df3bf3310be0576223812efe9d849d9a579ffdb0cbc83f
diff --git a/dev-java/rhino/files/rhino-1.9.0-ClassCompilerTest.patch b/dev-java/rhino/files/rhino-1.9.0-ClassCompilerTest.patch
deleted file mode 100644
index c5ca774b3c51..000000000000
--- a/dev-java/rhino/files/rhino-1.9.0-ClassCompilerTest.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-testMainMethodExecutesWithoutError
- tags: []
- uniqueId: [engine:junit-vintage]/[runner:org.mozilla.javascript.tests.ClassCompilerTest]/[test:testMainMethodExecutesWithoutError(org.mozilla.javascript.tests.ClassCompilerTest)]
- parent: [engine:junit-vintage]/[runner:org.mozilla.javascript.tests.ClassCompilerTest]
- source: MethodSource [className = 'org.mozilla.javascript.tests.ClassCompilerTest', methodName = 'testMainMethodExecutesWithoutError', methodParameterTypes = '']
- caught: java.lang.VerifyError: Local variable table overflow
- Exception Details:
- Location:
- testMain.init0(Lorg/mozilla/javascript/JSDescriptor;)Lorg/mozilla/javascript/JSDescriptor; @18: istore_2
- Reason:
- Local index 2 is invalid
- Bytecode:
- 0000000: bb00 0959 bb00 0b59 b700 0f01 2a05 bd00
- 0000010: 1103 3d59 1c12 1353 8402 0159 1c12 1553
- 0000020: 8402 0105 bc04 033d 591c 0354 8402 0159
- 0000030: 1c03 5484 0201 0304 0403 0303 0303 0312
- 0000040: 1712 1903 121a 0103 0503 0303 0303 0301
- 0000050: 0103 b700 1d4c 2b59 05bd 0009 033d 591c
- 0000060: 2bb8 0020 5384 0201 591c 2bb8 0023 5384
- 0000070: 0201 b800 29b5 002d b0
- Stackmap Table:
-
- at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
- at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3011)
- at java.base/java.lang.Class.getMethodsRecursive(Class.java:3147)
- at java.base/java.lang.Class.getMethod0(Class.java:3132)
- at java.base/java.lang.Class.getMethod(Class.java:2164)
- at org.mozilla.javascript.tests.ClassCompilerTest.testMainMethodExecutesWithoutError(ClassCompilerTest.java:93)
- at java.base/java.lang.reflect.Method.invoke(Method.java:565)
- duration: 15 ms
- status: ✘ FAILED
-
---- a/src/test/java/org/mozilla/javascript/tests/ClassCompilerTest.java
-+++ b/src/test/java/org/mozilla/javascript/tests/ClassCompilerTest.java
-@@ -10,6 +10,7 @@ import java.lang.reflect.InvocationTargetException;
- import java.lang.reflect.Method;
- import java.util.ArrayList;
- import org.junit.Test;
-+import org.junit.Ignore;
- import org.mozilla.javascript.CompilerEnvirons;
- import org.mozilla.javascript.DefiningClassLoader;
- import org.mozilla.javascript.optimizer.ClassCompiler;
-@@ -68,7 +69,7 @@ public class ClassCompilerTest {
- }
- }
-
-- @Test
-+ @Test @Ignore
- public void testMainMethodExecutesWithoutError()
- throws IllegalAccessException, InvocationTargetException {
- var compilerEnv = new CompilerEnvirons();
diff --git a/dev-java/rhino/metadata.xml b/dev-java/rhino/metadata.xml
deleted file mode 100644
index 8ba5d74b80e6..000000000000
--- a/dev-java/rhino/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
- <longdescription>
- Rhino is an implementation of JavaScript written entirely in Java.
- It is typically embedded into Java applications to provide scripting
- to end users.
- </longdescription>
- <upstream>
- <remote-id type="github">mozilla/rhino</remote-id>
- <changelog>https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md</changelog>
- <bugs-to>https://github.com/mozilla/rhino/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/dev-java/rhino/rhino-1.9.1.ebuild b/dev-java/rhino/rhino-1.9.1.ebuild
deleted file mode 100644
index 08ac733b85ad..000000000000
--- a/dev-java/rhino/rhino-1.9.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=9
-
-JAVA_PKG_IUSE="doc source test"
-JAVA_TESTING_FRAMEWORKS="junit-vintage"
-
-inherit java-pkg-2 java-pkg-simple junit5
-
-DESCRIPTION="Rhino JavaScript runtime jar, excludes XML, tools, and ScriptEngine wrapper"
-HOMEPAGE="https://github.com/mozilla/rhino"
-SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/rhino-Rhino${PV//./_}_Release/rhino"
-
-LICENSE="MPL-1.1 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64"
-
-DEPEND="
- >=virtual/jdk-17
- test? (
- dev-java/junit:4
- dev-java/junit:5[vintage]
- )
-"
-
-# 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 )
-PATCHES=( "${FILESDIR}/rhino-1.9.0-ClassCompilerTest.patch" )
-
-JAVA_RESOURCE_DIRS="src/main/resources"
-JAVA_SRC_DIR="src/main/java"
-JAVA_TEST_EXTRA_ARGS=( -Dtest.file.rhino-test-config.loaded=true -Dtest.config.bar=value4-mod )
-JAVA_TEST_GENTOO_CLASSPATH="junit-4 junit-5"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-JAVA_TEST_SRC_DIR="src/test/java"
-
-src_test() {
- JAVA_GENTOO_CLASSPATH_EXTRA="rhino.jar"
- JAVA_JAR_FILENAME="testutils.jar"
- JAVA_SRC_DIR="../testutils/src/main/java"
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":testutils.jar"
-
- # One test needs to run first, otherwise it would fail.
- JAVA_TEST_RUN_ONLY=( org.mozilla.javascript.tests.ErrorHandlingTest )
- local JAVA_TEST_RUN_LATER=$(find src/test/java -name '*Test.java' -printf '%P\n')
- JAVA_TEST_RUN_LATER="${JAVA_TEST_RUN_LATER//.java}"
- JAVA_TEST_RUN_ONLY+=( ${JAVA_TEST_RUN_LATER//\//.} )
- junit5_src_test
-
- JAVA_JAR_FILENAME="rhino.jar"
-}