-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Description
The shading of byte-buddy in mrbean has left the multi-release byte-buddy classes in META-INF/versions/9 directory. The class name was updated, but the class file name was not, which is leading to classpath conflicts with ByteBuddy itself.
javap META-INF/versions/9/net/bytebuddy/ByteBuddy.class
Compiled from "ByteBuddy.java"
public class tools.jackson.module.mrbean.bytebuddy.ByteBuddy {
public static final java.lang.String DEFAULT_NAMING_PROPERTY;
public static final java.lang.String DEFAULT_VALIDATION_PROPERTY;
protected final tools.jackson.module.mrbean.bytebuddy.ClassFileVersion classFileVersion;
The byte-buddy module-info was also included and module name and exports were not updated. This is also a quite old version of bytebuddy.
javap META-INF/versions/9/module-info.class
module net.bytebuddy@1.15.11 {
requires static java.instrument;
requires static java.management;
requires static jdk.unsupported;
requires static net.bytebuddy.agent;
requires static com.sun.jna;
requires static com.sun.jna.platform;
requires java.base;
There are also these other bytebuddy artifacts in META-INF, which probably shouldn't be there:
META-INF/maven/net.bytebuddy
META-INF/maven/net.bytebuddy/byte-buddy
META-INF/maven/net.bytebuddy/byte-buddy/pom.properties
META-INF/maven/net.bytebuddy/byte-buddy/pom.xml