Skip to content
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

Use --release instead of --source/target combo #3987

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

akurtakov
Copy link
Member

This fixes warnings during build like:

[WARNING] location of system modules is not set in conjunction with -source 17
  not setting the location of system modules may lead to class files that cannot run on JDK 17
    --release 17 is recommended instead of -source 17 -target 17 because it sets the location of system modules automatically

and also ensures usage of newer API doesn't slip in.

@akurtakov akurtakov added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Jun 15, 2024
Copy link

github-actions bot commented Jun 15, 2024

Test Results

  597 files    597 suites   3h 52m 31s ⏱️
  427 tests   420 ✅  7 💤 0 ❌
1 281 runs  1 259 ✅ 22 💤 0 ❌

Results for commit 1d1049e.

♻️ This comment has been updated with latest results.

@akurtakov akurtakov force-pushed the main branch 3 times, most recently from def9cbb to e1ed79d Compare June 17, 2024 07:29
@akurtakov akurtakov self-assigned this Jun 17, 2024
@akurtakov akurtakov enabled auto-merge (rebase) June 17, 2024 08:14
This fixes warnings during build like:
```
[WARNING] location of system modules is not set in conjunction with
-source 17
  not setting the location of system modules may lead to class files
that cannot run on JDK 17
    --release 17 is recommended instead of -source 17 -target 17 because
it sets the location of system modules automatically
```
and also ensures usage of newer API doesn't slip in.
@akurtakov akurtakov merged commit 38b477e into eclipse-tycho:main Jun 17, 2024
11 checks passed
@eclipse-tycho-bot
Copy link

💔 All backports failed

Status Branch Result
tycho-4.0.x Backport failed because of merge conflicts

You might need to backport the following PRs to tycho-4.0.x:
- Update to 2024-06 release
- Update other deps
- Update org.eclipse.equinox.common, org.eclipse.osgi and registry to
- Bump org.eclipse.platform:org.eclipse.core.runtime

Manual backport

To create the backport manually run:

backport --pr 3987

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants