FasterXML / FasterXML/jackson-modules-base

Utilize ByteBuddy's InjectionClassLoader instead of AbstractTypeMaterializer.MyClassLoader

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
afterburner
Dominant language
Java
Stars
180
Forks
80
Avg merge
3h 26m
Merged PRs (30d)
1

Description

ByteBuddy is able to either wrap or inject defined classes to given classloader whereas MyClassLoader is merely a wrapper. The injection approach would reduce end-user's stack of classloaders by eliminating the need for yet-another classloader.

In #62 I suggested that non-shaded version would be provided because then I could construct the materializer using a non-sealed InjectionClassLoader that contains some custom made abstract classes that I have crafted using ByteBuddy. For those using the shaded the approach would be the more familiar classloader wrapping. For me to start calling the shaded version of ByteBuddy would be rather cumbersome.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.