You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/12/09 07:19:00 UTC
[jira] [Updated] (SLING-10977) Exclude JDK packages from version range checks
[ https://issues.apache.org/jira/browse/SLING-10977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated SLING-10977:
------------------------------------
Description:
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
was:
The analysers for package exports/imports currently warn if a bundle is importing JDK packages without a warning:
[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
> Exclude JDK packages from version range checks
> ----------------------------------------------
>
> Key: SLING-10977
> URL: https://issues.apache.org/jira/browse/SLING-10977
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model, Feature Model Analyser
> Affects Versions: Feature Model API Regions Extension 1.4.0, Feature Model Analyser 1.5.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Feature Model Analyser 1.5.2, Feature Model API Regions Extension 1.4.2
>
>
> 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 message was sent by Atlassian Jira
(v8.20.1#820001)