OpenJDK ClassFile API and ASM
I am wondering what you are planning for ASM in the light of the soon-to-be-released (?) ClassFile API in OpenJDK. Are you planning to maintain ASM along OpenJDK or do you think that you will stop developing the library at some point?
Personally, I do of course hope that ASM continues even in the light of a native API. In Byte Buddy, ASM is exposed as API for "in-method-instrumentation" and even if it was not, rewriting Byte Buddy to this degree would be impossible considering the time that would take.
However, I would like to embrace the JDK API in Byte Buddy and am planning to write a bridge:
- ClassModel -> ClassVisitor
- ClassVisitor -> ClassBuilder
After that, I would want to make ClassReader/ClassWriter pluggable where the JDK API could be used instead, either by opt-in or by default for unknown versions.
Have you thought about something like this? If so, would you want this to become a part of ASM? There is so much use of ASM that I would think several people would benefit of this.