-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Packaging
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.