You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/12/07 17:12:00 UTC

[jira] [Created] (SLING-10977) Exclude JDK packages from version range checks

Carsten Ziegeler created SLING-10977:
----------------------------------------

             Summary: 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 Analyser 1.5.0, Feature Model API Regions Extension 1.4.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Feature Model API Regions Extension 1.4.2, Feature Model Analyser 1.5.2


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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)