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

Reduce printed warnings in builds #3531

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

akurtakov
Copy link
Member

There are a lot of "[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17. This might lead to faulty dependency resolution, consider defining a suitable JDK in the toolchains.xml." in builds if no toolchain.xml is defined. But with modular JVMs even having same EE version doesn't guarantee same APIs are available in the JVM thus reducing severity of the message to debug so it can still be printed for the rare cases when that might be useful.

There are a lot of "[WARNING] Using JavaSE-21 to fulfill requested
profile of JavaSE-17. This might lead to faulty dependency resolution,
consider defining a suitable JDK in the toolchains.xml." in builds if no
toolchain.xml  is defined. But with modular JVMs even having same EE
version doesn't guarantee same APIs are available in the JVM thus
reducing severity of the message to debug so it can still be printed for
the rare cases when that might be useful.
@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 Feb 27, 2024
@akurtakov akurtakov enabled auto-merge (rebase) February 27, 2024 09:09
@akurtakov akurtakov self-assigned this Feb 27, 2024
@akurtakov akurtakov merged commit 969abc4 into eclipse-tycho:main Feb 27, 2024
11 checks passed
@eclipse-tycho-bot
Copy link

💚 All backports created successfully

Status Branch Result
tycho-4.0.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

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

@akurtakov akurtakov deleted the reduce_warnings branch February 27, 2024 10:12
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.

2 participants