Skip to content

Support JDK 27 - #1075

Draft
kyakdan wants to merge 7 commits into
mainfrom
kyakdan-asm-java-27-support
Draft

kyakdan wants to merge 7 commits into
mainfrom
kyakdan-asm-java-27-support

Conversation

@kyakdan

@kyakdan kyakdan commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Adds support for JDK 27. Fixes #1074.

Jazzer's ASM version couldn't read Java 27 class files, so on JDK 27 classes were loaded without instrumentation. The PR also enables native access for Jazzer's native libraries, which JDK 24+ warns about, and adds JDK 27 to CI.

@kyakdan
kyakdan force-pushed the kyakdan-asm-java-27-support branch from d8bbc25 to 0c646c0 Compare December 1, 2026 13:28
ASM 9.9.1 rejects class files newer than Java 26 (#1074).
JDK 24+ warns when Jazzer loads its native libraries without native access enabled, and a future JDK will deny it.
By default, installing the agent loads Jazzer's native library. A JVM started with --illegal-native-access=deny made it fail with nested exceptions deep inside Jazzer, so name the required flag instead.
Only the jazzer binary enables it itself, JUnit users have to pass the flag to the test JVM.
JDK 24+ warns about the memory-access methods of sun.misc.Unsafe, which would fail every fuzz target test until #1069 is fixed.
contrib_rules_jvm 0.27.0 starts them with -Djava.security.manager=allow, which JDK 24+ rejects. Newer versions don't, but break JUnit 5 tests on Windows.
rules_java doesn't provide JDK 27, so register Zulu 27 like the existing JDK 8 and 21 toolchains.
@kyakdan
kyakdan force-pushed the kyakdan-asm-java-27-support branch from 0c646c0 to 8b7914d Compare December 2, 2026 11:11
@oetr

oetr commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Isn't there a button to "Clear all billing issues" somewhere in the admin panel? 🙈

@kyakdan

kyakdan commented Dec 2, 2026

Copy link
Copy Markdown
Member Author

Isn't there a button to "Clear all billing issues" somewhere in the admin panel? 🙈

I wish there was one. I'm running the CI on my Jazzer fork until we resolve the billing issues (which would hopefully be soon). Failing to run CI is a huge blocker

This branch has not been deployed

No deployments
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.

Unsupported class file major version 71

2 participants