Inquiry About Support for Java 21 [message #1864819] |
Thu, 11 April 2024 05:12 |
Maduranga Siriwardena Messages: 6 Registered: April 2013 |
Junior Member |
|
|
We have been using Equinox as the OSGi implementation in our product. We are currently in the process of updating our product to be compatible with Java 21, which involves compiling our code with the source version set to 21. This change understandably introduces the following requirement into our bundles' manifests:
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=21))"
After updating to the latest Equinox version, upon attempting to install features in our product during the build process, we've encountered an issue where the installation fails due to the unavailability of this capability. A programmatic inspection of the available capabilities revealed support up to Java SE 17 only, as shown below:
osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0.0,1.1.0,1.2.0,1.3.0,1.4.0,1.5.0,1.6.0,1.7.0,1.8.0,9.0.0,10.0.0,11.0.0,12.0.0,13.0.0,14.0.0,15.0.0,16.0.0,17.0.0"
Based on this, we assume that the latest version of Equinox does not yet support Java SE 21. We would greatly appreciate any insights or confirmations regarding this assumption. Additionally, if Equinox does not currently support Java 21, is there a projected timeline for when support might be introduced? Ensuring compatibility with Java 21 is critical for our product's development strategy, and any information or guidance on this matter would be incredibly helpful.
Thank you for your support and looking forward to your guidance.
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04402 seconds