Skip to content

chore: align the --source flag with the --target when compiling Java code #23749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hamzaremmal
Copy link
Member

Closes #23747

@WojciechMazur
Copy link
Contributor

Since the minimal version is now 17 maybe we can consider using the '--release' flag instead? It's equivalent to '--source' + '---target' + '--bootclasspath' and added in JDK 9.

@hamzaremmal hamzaremmal disabled auto-merge August 15, 2025 09:27
@hamzaremmal
Copy link
Member Author

Since the minimal version is now 17 maybe we can consider using the '--release' flag instead? It's equivalent to '--source' + '---target' + '--bootclasspath' and added in JDK 9.

Sure

@hamzaremmal hamzaremmal enabled auto-merge August 15, 2025 09:36
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.

Nightly Dotty workflow of 2025-08-15 failed
2 participants