You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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
The text was updated successfully, but these errors were encountered: