Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936529 - dev-java/easymock-3.3.1-r1 fails tests with jdk:24: java.lang.IllegalArgumentException: Unsupported class file major version 68
Summary: dev-java/easymock-3.3.1-r1 fails tests with jdk:24: java.lang.IllegalArgument...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: jdk24
  Show dependency tree
 
Reported: 2024-07-23 07:19 UTC by Agostino Sarubbo
Modified: 2024-07-23 10:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,108.44 KB, text/plain)
2024-07-23 07:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-07-23 07:19:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/easymock-3.3.1-r1 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14) - openjdk-bin-24

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-23 07:19:40 UTC
Created attachment 898175 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-23 07:19:40 UTC
Error(s) that match a know pattern:


FAILURES!!!
Comment 3 Volkmar W. Pogatzki 2024-07-23 09:44:00 UTC
Tests pass with openjdk:21
Comment 4 Miroslav Šulc gentoo-dev 2024-07-23 09:50:17 UTC
it seems the problem is that objectweb does not support that version of java
Comment 5 Miroslav Šulc gentoo-dev 2024-07-23 09:57:24 UTC
the question is, what does asm inspect that it encounters java 24 bytecode. the package itself it should not be as there is source/target 1.8, so maybe it inspects system classes... i didn't investigate this. anyway, using a version of asm that supports java 24 should resolve this and similar issues.
Comment 6 Volkmar W. Pogatzki 2024-07-23 10:02:13 UTC
(In reply to Miroslav Šulc from comment #5)
> the question is, what does asm inspect that it encounters java 24 bytecode.
> the package itself it should not be as there is source/target 1.8, so maybe
> it inspects system classes... i didn't investigate this. anyway, using a
> version of asm that supports java 24 should resolve this and similar issues.

not sure if vbump to asm-9.7 would help. we'll see once that's done.