Skip to content

Disable module development without java.se - #101

Merged
DanielThomas merged 2 commits into
mainfrom
feature/optional-module-development
Oct 29, 2026
Merged

DanielThomas merged 2 commits into
mainfrom
feature/optional-module-development

Conversation

@DanielThomas

Copy link
Copy Markdown
Member

Summary

  • treat java.se as a runtime capability rather than a module dependency
  • hide module-development commands and completions when the runtime image omits java.se
  • reject direct module-command invocations with an actionable error
  • keep AOT warmup usable in reduced runtime images
  • document the reduced standalone behavior

Validation

  • ja test --all — 509 tests found, 3 skipped, 506 successful
  • installed the source com.netflix.tools.ja module with ja install --include-static into a reduced runtime image and verified:
    • development/code-insight commands remain in help
    • module commands are omitted
    • compile and compile --help report that java.se is absent
    • module-command completion returns no candidates

@DanielThomas
DanielThomas merged commit ae830d5 into main Oct 29, 2026
12 checks passed
@DanielThomas
DanielThomas deleted the feature/optional-module-development branch October 29, 2026 06:12
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