Skip to content

Conversation

@dondonz
Copy link
Member

@dondonz dondonz commented Feb 13, 2023

Addresses issue raised in this discussion thread #3089. Thanks @schaefa for reporting!

From https://github.com/diffplug/osgiX

The cause of the problem is that OSGi doesn't supply the entire JRE to its bundles - it only provides the most standardized packages. This means that non-standard packages like sun.misc and sun.reflect aren't available to your bundles, even though they are in common usage.

graphql-java does not directly use anything from sun.misc, but it still is turning up in the MANIFEST.MF file generated by the plugin biz.aQute.bnd.builder.

This PR removes sun.misc.* from the Import-Package header.

@dondonz dondonz added this to the 20.1 milestone Feb 13, 2023
@dondonz dondonz added this pull request to the merge queue Feb 13, 2023
Merged via the queue into master with commit 3422613 Feb 13, 2023
@dondonz dondonz deleted the remove-sun-misc-from-manifest-mf branch February 13, 2023 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants