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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: jdk24
  Show dependency tree
 
Reported: 2024-07-23 07:19 UTC by Agostino Sarubbo
Modified: 2024-11-11 12:35 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.
Comment 7 Larry the Git Cow gentoo-dev 2024-10-10 10:33:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1899d79a387ba5b9446f907f3e00aecc0763827

commit c1899d79a387ba5b9446f907f3e00aecc0763827
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-10-07 10:09:06 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-10-10 10:32:32 +0000

    dev-java/asm: add 9.7.1 #936529
    
    Bug: https://bugs.gentoo.org/936529
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/38836/commits/82b3a75b8ec98fe96a27ae5191e9f309f57402a8
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/asm/Manifest         |  1 +
 dev-java/asm/asm-9.7.1.ebuild | 97 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)
Comment 8 Volkmar W. Pogatzki 2024-11-11 12:35:12 UTC
Removal of dev-java/asm-9.7 (commit #1ec12f2c81 ) solves this bug.