mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 02:42:18 +00:00
also restricts to max jdk:25 because of still using Applet Closes: https://bugs.gentoo.org/946905 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/43545 Closes: https://github.com/gentoo/gentoo/pull/43545 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
24 lines
1 KiB
Diff
24 lines
1 KiB
Diff
There was 1 failure:
|
|
1) testDeprecatedAttribute(javassist.bytecode.BytecodeTest)
|
|
javassist.NotFoundException: suspend(..) is not found in java.lang.Thread
|
|
at javassist.CtClassType.getDeclaredMethod(CtClassType.java:1356)
|
|
at javassist.bytecode.BytecodeTest.testDeprecatedAttribute(BytecodeTest.java:315)
|
|
|
|
FAILURES!!!
|
|
Tests run: 434, Failures: 1
|
|
|
|
The failure occurs with jdk:25 and higher due to method 'suspend'
|
|
being removed (https://bugs.openjdk.org/browse/JDK-8359053).
|
|
The removal of 'suspend' only affects the test, so we skip the test.
|
|
|
|
--- a/src/test/javassist/bytecode/BytecodeTest.java
|
|
+++ b/src/test/javassist/bytecode/BytecodeTest.java
|
|
@@ -310,7 +310,7 @@ public class BytecodeTest extends TestCase {
|
|
assertEquals(0, invoke(obj, "test"));
|
|
}
|
|
|
|
- public void testDeprecatedAttribute() throws Exception {
|
|
+ public void noTestDeprecatedAttribute() throws Exception {
|
|
CtClass cc = loader.get("java.lang.Thread");
|
|
CtMethod m = cc.getDeclaredMethod("suspend");
|
|
MethodInfo minfo = m.getMethodInfo();
|