Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940761 - dev-java/byte-buddy: missing classes duplicated from dev-java/asm
Summary: dev-java/byte-buddy: missing classes duplicated from dev-java/asm
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-04 16:16 UTC by Fabio Rossi
Modified: 2024-10-04 17:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2024-10-04 16:16:31 UTC
The current implementation for version 1.4.10 is creating a jar file which is missing some classes. After looking in the pom.xml file, it is using the maven-shade-plugin to create an uber-jar which embeds the org.objectweb.asm classes in the namespace net.bytebuddy.jar.asm. 

An external package depending on byte-buddy will then fail to compile if it does

import net.bytebuddy.jar.asm
Comment 1 Volkmar W. Pogatzki 2024-10-04 17:02:09 UTC
(In reply to Fabio Rossi from comment #0)
> [...]
> An external package depending on byte-buddy will then fail to compile if it
> does
> 
> import net.bytebuddy.jar.asm

Not shading is by design. Such depending package should be adjusted to import ASM directly.