Added syntax support for java 17-25#188
Open
ZetaMap wants to merge 3 commits into
Open
Conversation
Additionnal changes: * @desugar annotation removed as it's completely useless and annoying * ByteBuddy updated to support Java 25 * Fixed bugs with record retrofitting * Added lot of example of usecase (need help include them in README, and to add them properly to tests) * Updated description * Updated java version in build.gradle files * Plugin tested on JDK 8, 9, 12, 16, 17, 19, 21, 25
…de java 21 switch retrofitting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additionnal changes:
I will also need help with tests and documentation.
Because originally I made the examples to be runs via a target, not via unit tests, so they probably require some adaptation.
And for documentation (the README) I just changed the java version and idk if that enough or if we need to change more things.
Regarding reliability, i tested a lot of use cases, uncompiled (using BytecodeViewer with CFR) and checked by hand the produced bytecode, and everything works fine.
And the compilation is also slightly longer. For a very big project like a game, with hundred of classes and tests, on my little pc, it's takes like 30 seconds more.