Skip to content

Restore compile-time resolution for source launch - #44

Merged
DanielThomas merged 1 commit into
mainfrom
fix/source-launch-compile-time
Sep 25, 2026
Merged

DanielThomas merged 1 commit into
mainfrom
fix/source-launch-compile-time

Conversation

@DanielThomas

Copy link
Copy Markdown
Member

Summary

  • restore --compile-time for compilation that is not represented by a module source path, such as Java source-file launch
  • include inherited requires static transitive dependencies of compilation roots while continuing to omit plain static dependencies of compiled binaries
  • place compile-only dependencies on the generated module path without adding them to runtime roots

This addresses the source-launch use case reported in Netflix/ja#77.

Testing

  • ja test --all (555 tests)
  • ran the JUnit 6.1.3 compact source-file example with the generated argument file; it completed without warnings and included org.apiguardian.api and org.jspecify

@DanielThomas
DanielThomas merged commit 1e6126b into main Sep 25, 2026
1 check passed
@DanielThomas
DanielThomas deleted the fix/source-launch-compile-time branch September 25, 2026 07:21
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