FasterXML / FasterXML/jackson-modules-base

Utilize ByteBuddy's InjectionClassLoader instead of AbstractTypeMaterializer.MyClassLoader

未关闭
#63 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
afterburner
主要语言
Java
星标
180
派生
80
平均合并
3 小时 26 分钟
30 天内合并 PR
1

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。