Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WICKET-6913 Replace CGLib with ByteBuddy #476

Merged
merged 7 commits into from
Aug 16, 2021

Conversation

martin-g
Copy link
Member

CGLib is not well maintained and it does not work with JDK 17+.

TODO: Update the Objenesis related classes too and wicket-jmx
(cherry picked from commit 8e1a15b)
Replace all occurrences of "cglib" with "byte-buddy".
Merge AbstractByteBuddyInterceptor and ByteBuddyInterceptor. I see no need of both. If an application needs special impl of #writeReplace() then it could extend ByteBuddyInterceptor and override it.
Improve Maven dependency management related to byte-buddy.
This is needed because otherwise we may get a cached generated class with wrong interceptor (i.e. IProxyTargetLocator) for classes with generics
@martin-g martin-g merged commit 8cfffea into master Aug 16, 2021
@martin-g martin-g deleted the WICKET-6913-replace-cglib-with-bytebuddy-wicket-10.x branch August 16, 2021 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants