Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1502

Importing, exporting and including (private-package) a package in a bundle confuses sigil resolver

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: sigil-1.0.0
    • Component/s: Sigil
    • Labels:
      None

      Description

      Consider the following use case:

      Bundle foo provides package org.foo
      Bundle bar wants to import org.foo but also include it in it's bundle classpath such that it can be installed without foo, it should therefore also export org.foo to preserve the classspace should foo and bar be installed in the same jvm

      Unfortunately this confuses the sigil resolver which now thinks that bar contains the packages org.foo (as it is exporting them) when at compile time it should pull in bundle foo to satisfy the classes.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              davemssavage David Savage
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: