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

Avoid warning about importing JDK packages without a version #121

Closed
cziegeler opened this issue Dec 9, 2021 · 1 comment
Closed

Avoid warning about importing JDK packages without a version #121

cziegeler opened this issue Dec 9, 2021 · 1 comment
Assignees

Comments

@cziegeler
Copy link
Contributor

cziegeler commented Dec 9, 2021

The analysers for package exports/imports currently warn if a bundle is importing JDK packages without a version:
[WARNING] [api-regions-exportsimports] foo:1.0-SNAPSHOT: Bundle foo:1.0-SNAPSHOT is importing package(s) [java.lang.invoke, java.util, java.util.function, java.io, java.lang, java.util.stream] without specifying a version range.
As JDK packages usually do not have a version, it doesn't make sense to require them for an import package statement

This issues is about including the fix for https://issues.apache.org/jira/browse/SLING-10977

@cziegeler cziegeler self-assigned this Dec 9, 2021
@cziegeler cziegeler changed the title Avoid warning about importing JDK packages without a warning Avoid warning about importing JDK packages without a version Dec 9, 2021
@cziegeler
Copy link
Contributor Author

Fixed 62afd5c

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

No branches or pull requests

1 participant