[
https://issues.apache.org/jira/browse/KARAF-8000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023751#comment-18023751
]
ASF subversion and git services commented on KARAF-8000:
--------------------------------------------------------
Commit 2f418159082203430535ffaa7a003742c9733426 in karaf's branch
refs/heads/karaf-4.4.x from JB Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=2f41815908 ]
KARAF-8000: Update jre.properties correctly export packages (#1985) (#2075)
* KARAF-8000: use cascading properties
Inherit JRE packages from previous version, not just jre-9,
almost reverting commit a7f64687fc45a631c7a8f5ea67400d18c5501977, but
minimizing the length of evaluation chain based key releases that
introduced new packages.
* KARAF-8000: expose jdk.nio on Java 11+
This package was introduced in Java 11 as part of
https://bugs.openjdk.org/browse/JDK-8205415.
* KARAF-8000: expose Java 12 packages
Add packages introduced in Java 12:
- java.lang.constant via https://bugs.openjdk.java.net/browse/JDK-8202031
- javax.naming.ldap.spi via https://bugs.openjdk.org/browse/JDK-8192975
* KARAF-8000: expose jdk.nio.mapmode on Java 14+
This package was introduced in Java 14 via
https://bugs.openjdk.org/browse/JDK-8207851.
* KARAF-8000: expose java.lang.foreign on Java 22+
This package was originally introduced as preview in Java 19, but
finalized in Java 22 via https://bugs.openjdk.org/browse/JDK-8310626.
* KARAF-8000: expose Java 24 packages
Add packages introduced in Java 24:
- java.lang.classfile* via https://bugs.openjdk.org/browse/JDK-8334712
- jdk.management via https://bugs.openjdk.org/browse/JDK-8338890
* KARAF-8000: expose javax.sound on Java 25+
This package was introduced in Java 25 via
https://bugs.openjdk.org/browse/JDK-8356200.
* KARAF-8000: correct java.net.http availability
This package was originally introduced as incubating in Java 9, but
finalized in Java 11 via https://bugs.openjdk.org/browse/JDK-8197565.
* KARAF-8000: correct java.lang.runtime availability
This package was originally introduced as a preview in Java 14, but
finalized in Java 16 via https://bugs.openjdk.org/browse/JDK-8246771.
This effectively reverts commit
a674d6b95a60e231389ac3eb8269648f3304ca16.
* KARAF-8000: correct java.util.random availability
This package was introduced in Java 17 via
https://bugs.openjdk.org/browse/JDK-8255395.
---------
Signed-off-by: Robert Varga <[email protected]>
Co-authored-by: Robert Varga <[email protected]>
> jdk.nio not exposed with Java 11+
> ---------------------------------
>
> Key: KARAF-8000
> URL: https://issues.apache.org/jira/browse/KARAF-8000
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.4.8
> Reporter: Robert Varga
> Assignee: Robert Varga
> Priority: Major
>
> JDK11 has expanded the jdk.net module with jdk.nio package, which Karaf is
> not exporting. This means libraries do not get access to what they'd normally
> expect from a Java 11+ runtime.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)