* #1981: Avoid OSGi bundle's dependency on sun.misc package
* Specify optional dependency on sun.misc.Unsafe
* Adjusting the test to sun.misc import being optional
* Using Collections.list and for loop
* Let the fail message include name of package
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
* Closing the input stream
* Dedicated assertSubstring method
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
* Explicitly specify `Require-Capability: osgi.ee` to require 1.5+
Specifying disables bnd's auto-generated value which is determined from
the minimum versions of the .class files, including `module-info.class`
* Drop JavaSE-1.5 since that boat sailed a long time ago
* Drop unused org.apache.felix:maven-bundle-plugin plugin