Skip to content

Fix byte-buddy class loading failure#780

Merged
yinan-symphony merged 2 commits intofinos:mainfrom
yinan-symphony:bugfix/byte-buddy
Sep 12, 2023
Merged

Fix byte-buddy class loading failure#780
yinan-symphony merged 2 commits intofinos:mainfrom
yinan-symphony:bugfix/byte-buddy

Conversation

@yinan-symphony
Copy link
Copy Markdown
Contributor

The byte-buddy default classloading strategy requires the access to Java internal methods, which are sealed by JPMS since Jdk11. The fix is to change the strategy from default one to UsingLookup, according to the recommendation of byte-buddy doc.

Add "Automatic-Module-Name" attribute in main MANIFEST.MF entry.

Description

Closes #[ISSUE NUMBER]

Please put here the intent of your pull request.

Dependencies

List the other pull requests that should be merged before/along this one.

Checklist

  • Referenced an issue in the PR title or description
  • Filled properly the description and dependencies, if any
  • Unit/Integration tests updated or added
  • Javadoc added or updated
  • Updated the documentation in docs folder

The byte-buddy default classloading strategy requires the access
to Java internal methods, which are sealed by JPMS since Jdk11.
The fix is to change the strategy from default one to UsingLookup,
according to the recommendation of byte-buddy doc.

Add "Automatic-Module-Name" attribute in main MANIFEST.MF entry.
@yinan-symphony yinan-symphony merged commit 1961fd7 into finos:main Sep 12, 2023
@yinan-symphony yinan-symphony deleted the bugfix/byte-buddy branch January 25, 2024 11:02
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