Skip to content

Added syntax support for java 17-25#188

Open
ZetaMap wants to merge 3 commits into
bsideup:masterfrom
xpdustry:bsideup
Open

Added syntax support for java 17-25#188
ZetaMap wants to merge 3 commits into
bsideup:masterfrom
xpdustry:bsideup

Conversation

@ZetaMap
Copy link
Copy Markdown

@ZetaMap ZetaMap commented Apr 26, 2026

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 examples of use cases (need help include them in README, and to add them properly to tests)
  • Updated plugin initialization (JabelCompilerPlugin.java), removing useless things
  • Updated description
  • Updated java version in build.gradle files
  • Plugin tested on JDK 8, 9, 12, 16, 17, 19, 21, 25

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.

ZetaMap added 3 commits April 9, 2026 16:11
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
Copy link
Copy Markdown

@jewelshkjony jewelshkjony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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