Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redisson-3.27.1 OSGi MANIFEST.MF imports package jdk.net which is not available under Java 8 #5674

Closed
axeluhl opened this issue Mar 10, 2024 · 1 comment
Labels
Milestone

Comments

@axeluhl
Copy link

axeluhl commented Mar 10, 2024

When using the OSGi-enabled redisson-3.27.1 JAR I cannot properly do the Tycho/OSGi build with Java 8:

[ERROR] Missing requirement: redisson 3.27.1 requires 'java.package; jdk.net 0.0.0' but it could not be found

Checking the manifest, I see it has an Import-Package for jdk.net. The OSGi system bundle correctly doesn't export that for Java 8. But the redisson manifest also states:

Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"

so should work with Java 8. Should the jdk.net dependency be "Optional" maybe?

@mrniko mrniko added the bug label Mar 11, 2024
@mrniko mrniko added this to the 3.27.2 milestone Mar 11, 2024
@mrniko
Copy link
Member

mrniko commented Mar 11, 2024

Fixed. Thanks for report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants