Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10977

Exclude JDK packages from version range checks

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: