Skip to content

Unfortunate mandatory OSGi import for jdk.internal.misc package #1663

@bjhargrave

Description

@bjhargrave

Summary

The recent update to byte buddy has triggered a new OSGi import for the jdk.internal.misc package.

$ bnd print -mb assertj-core-3.14.0.jar
[MANIFEST assertj-core-3.14.0]
...
Import-Package                           ...,jdk.internal.misc,...

[USEDBY]
...
jdk.internal.misc                        org.assertj.core.internal.bytebuddy.dynamic.loading
...

The jdk.* packages should be optionally imported for when you are running on Java 8.

I will submit a PR to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd-party: OSGiAn issue related to the OSGi framework
    No fields configured for 🐛 Regression.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions