Skip to content

Validate HotSpot AOT caches before publishing - #105

Merged
DanielThomas merged 1 commit into
mainfrom
fix/aot-error-fallback
Oct 30, 2026
Merged

DanielThomas merged 1 commit into
mainfrom
fix/aot-error-fallback

Conversation

@DanielThomas

Copy link
Copy Markdown
Member

Summary

  • validate a newly created HotSpot AOT cache by loading it before publishing it
  • discard invalid caches and fall back in automatic mode
  • preserve strict failure semantics for explicit -L-aot=create

Validation

  • full Ja test suite: 499 passed, 3 skipped
  • launcher test suite: 55 passed, 3 skipped
  • Maven standalone archive on JDK 25: cache created, validated, published, and reused
  • Maven standalone archive on JDK 27: VM load errors detected, cache discarded, automatic mode falls back without retrying, explicit create fails
  • Railguard diff scan: no findings (bcedd307-1c5a-48b3-a543-ff8573f35361)

@DanielThomas
DanielThomas merged commit d890064 into main Oct 30, 2026
12 checks passed
@DanielThomas
DanielThomas deleted the fix/aot-error-fallback branch October 30, 2026 11:06
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.

1 participant