Skip to content

Upgrade to CGLIB 3.3 #23453

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

Closed
jhoeller opened this issue Aug 12, 2019 · 0 comments
Closed

Upgrade to CGLIB 3.3 #23453

jhoeller opened this issue Aug 12, 2019 · 0 comments
Assignees
Labels
type: dependency-upgrade A dependency upgrade
Milestone

Comments

@jhoeller
Copy link
Contributor

CGLIB 3.3 emits Java 1.8+ bytecode so that it can call static interface methods from a fastclass.

@jhoeller jhoeller added the type: dependency-upgrade A dependency upgrade label Aug 12, 2019
@jhoeller jhoeller added this to the 5.2 RC2 milestone Aug 12, 2019
@jhoeller jhoeller self-assigned this Aug 12, 2019
jhoeller added a commit that referenced this issue Aug 13, 2019
ClassLoaderAwareUndeclaredThrowableStrategy fails with a VerifyError on recent JDKs after the CGLIB 3.3 upgrade. The alternative is to replace it with a plain ClassLoaderAwareGeneratorStrategy (extracted from CglibSubclassingInstantiationStrategy) and custom UndeclaredThrowableException handling in CglibMethodInvocation.

See gh-23453
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade A dependency upgrade
Projects
None yet
Development

No branches or pull requests

1 participant