Skip to content

chore: remove superfluous statements from module descriptors#96

Merged
deer merged 1 commit into
mainfrom
module_cleanup
Jun 18, 2026
Merged

chore: remove superfluous statements from module descriptors#96
deer merged 1 commit into
mainfrom
module_cleanup

Conversation

@deer

@deer deer commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator
  • Audited all module-info.java files across the codebase and removed requires declarations that had no corresponding usage in production source —-- the pattern established by removing requires java.desktop from codemodel-foundation in the current branch.
  • Removed a total of 13 superfluous requires entries across 6 modules: codemodel-foundation (build.base.telemetry), expression-codemodel (build.base.parsing), objectoriented-codemodel (transitive build.codemodel.imperative), codemodel-framework-builder (build.codemodel.expression/imperative/objectoriented, all redundant via the transitive closure of build.codemodel.jdk), dependency-injection (transitive build.base.mereology/query/marshalling/transport, build.codemodel.expression/imperative), and jdk-annotation-processor (build.base.query/marshalling, build.codemodel.imperative).
  • One candidate (build.base.mereology in jdk-annotation-processor) was retained because it is directly referenced in test sources and there is no separate test module descriptor or Surefire --add-reads configuration to satisfy it otherwise.

@deer deer merged commit ea7a6bc into main Jun 18, 2026
1 check passed
@deer deer deleted the module_cleanup branch June 18, 2026 13:46
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