OSGi package import of jdk.net in mongodb-driver-core-4.3.1.jar

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.1
    • Affects Version/s: None
    • Component/s: Packaging
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The bundle specifies JavaSE-8 as its minimum requirement in its MANIFEST.MF. Yet, its package imports require jdk.net which in a regular Equinox OSGi environment is not part of JavaSE-1.8.profile. With this, projects that include mongodb-driver-core-4.3.1.jar won't compile in a Maven/Tycho build.

      To test things, I've removed the package import on jdk.net from the JAR's manifest, and things seems to work fine.

      Either you should require the Equinox folks to include jdk.net in the JavaSE-8.profile or you should refrain from requiring it in bundles that claim to live with (thanks!) Java8.

            Assignee:
            Ross Lawley
            Reporter:
            Donald Duck
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: