Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923602 - dev-java/httpcomponents-client-4.5.13-r1 fails tests with >=openjdk-bin-17: java.lang.NoClassDefFoundError: Could not initialize class org.mockito.internal.creation.jmock.ClassImposterizer$3
Summary: dev-java/httpcomponents-client-4.5.13-r1 fails tests with >=openjdk-bin-17: j...
Status: RESOLVED FIXED
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: PullRequest, TESTFAILURE
Depends on:
Blocks: 918647
  Show dependency tree
 
Reported: 2024-02-02 08:24 UTC by Agostino Sarubbo
Modified: 2024-06-04 17:01 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,668.28 KB, text/plain)
2024-02-02 08:25 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-02-02 08:24:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/httpcomponents-client-4.5.13-r1 fails tests.
Discovered on: arm64 (internal ref: tinderbox_arm64)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-02 08:25:01 UTC
Created attachment 884012 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-02 08:25:02 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.ExceptionInInitializerError [in thread "main"]
FAILURES!!!
java.lang.NoClassDefFoundError: Could not initialize class org.mockito.internal.creation.jmock.ClassImposterizer$3
Comment 3 Volkmar W. Pogatzki 2024-05-25 12:50:48 UTC
Tests pass if everything compiled with Java 1.8 or 11.
Comment 4 Larry the Git Cow gentoo-dev 2024-06-04 17:01:38 UTC
The bug has been closed via the following commit(s):

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

commit 322704c5611b09ea0b13b1a4c14c10e6e94e1fcb
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-05-27 09:58:41 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-04 16:59:38 +0000

    dev-java/httpcomponents-client: handle test failures #923602
    
    Closes: https://bugs.gentoo.org/923602
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../httpcomponents-client-4.5.13-r1.ebuild               | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)