JEP 484: Class-File API (JDK 24) #1798
homedirectory
started this conversation in
General
Replies: 1 comment 5 replies
-
It's using this bridge: https://github.com/raphw/asm-jdk-bridge But ASM is used as the API. I don't have any plans to migrate, the change would be to disruptive, but as an engine, you can already use it and it's used by any version that ASM does not support by default. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the ByteBuddy's approach to using the Class-File API introduced in JDK 24?
The project's README says that there is some ongoing integration with this new API:
However, I haven't been able to find anything else related to this integration.
I assume that the total replacement of ASM by the Class-File API is not a goal.
I understand that ASM and the Class-File API are two distinct APIs. Then, what would an integration with the Class-File API look like?
A second implementation of ByteBuddy's API? (This does not make sense to me.)
Or an extension to the ByteBuddy's API that enables the use of the Class-File API, similarly to how it is currently possible to write your own low-level ASM visitors?
Beta Was this translation helpful? Give feedback.
All reactions