Skip to content

Prefer Class-File API on Java 24 or above#477

Open
Goooler wants to merge 12 commits into
JakeWharton:trunkfrom
Goooler:asm-to-class-file
Open

Prefer Class-File API on Java 24 or above#477
Goooler wants to merge 12 commits into
JakeWharton:trunkfrom
Goooler:asm-to-class-file

Conversation

@Goooler

@Goooler Goooler commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Closes #474.

@JakeWharton

Copy link
Copy Markdown
Owner

While I generally want this, I think we don't win much with it. Only annoying any users we have that are running older than JDK 24. No one should be running old JDKs, but as we know most people generally do. Maybe once AGP requires JDK 24 (or newer) this will be less hostile of a change.

@Goooler

Goooler commented Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

Reasonable. Alternatively, there could be two impls for Java 24 newer or not (Multi-Release JAR?).

@Goooler Goooler changed the title Migrate from ASM to Class-File API Prefer Class-File API on Java 24 or above Mar 11, 2026
Comment thread gradle/libs.versions.toml Outdated
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.

Migrate from ASM to Class-File API

2 participants