-
Notifications
You must be signed in to change notification settings - Fork 169
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
Updated ASM8 to ASM9 #12487
Updated ASM8 to ASM9 #12487
Conversation
@@ -60,7 +60,7 @@ | |||
* The annotation class name to visit | |||
*/ | |||
FrontendAnnotatedClassVisitor(ClassFinder finder, String annotationName) { | |||
super(Opcodes.ASM8); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This (https://gitlab.ow2.org/asm/asm/-/issues/317854) could probably explain why the OpCodes has to be updated for newer java releases to work properly. Comment by Remi Forax:
I will close this issue as work as intended even if you may think it's surprising, currently ASM ClassReader support Java 11 (and even Java 12) so it recognizes Java 11 new attributes (here NestMembers). But here you are using a ClassVisitor which is configured to only recognize the ASM6 API, thus it fails at runtime with an UnsupportedOperation exception.
Can we merge this? Why is it a draft? |
I can't test that it actually works. I cannot reproduce the issue. Maybe going in blind is sometimes the option 😎 |
I can't test that it actually works. I cannot reproduce the issue. Maybe going in blind is sometimes the option 😎 @vaadin/flow Up to you to make the call. |
Update ASM to support Java 17
@caalador Can you CP this for Vaadin 14 series as well? |
Update ASM to support Java 17
Update ASM to support Java 17 Co-authored-by: Matti Tahvonen <[email protected]>
Update ASM to support Java 17 Co-authored-by: Matti Tahvonen <[email protected]>
Update ASM to support Java 17 Co-authored-by: Matti Tahvonen <[email protected]> Co-authored-by: caalador <[email protected]> Co-authored-by: Matti Tahvonen <[email protected]>
@caalador For some reason the fix has not been picked to 9.0 (aka Vaadin 22) branch. https://github.com/vaadin/flow/blob/9.0/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendAnnotatedClassVisitor.java#L63 |
Update ASM to support Java 17 Co-authored-by: Matti Tahvonen <[email protected]>
Auto merge had not merged for some reason. |
Hi @mstahv and @caalador, when i performed cherry-pick to this commit to 2.8, i have encountered the following issue. Can you take a look and pick it manually?
Otherwise, please use 'git cherry-pick --skip' |
No description provided.