[
https://issues.apache.org/jira/browse/FELIX-6759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940562#comment-17940562
]
Rob Walker commented on FELIX-6759:
-----------------------------------
Hi Paul - out of interest, aside from this warning did you get any other issues
running Felix with J24? I'm seeing DS behaving differently, which I think is
the old cycles / bundle ordering issue. If I alter my order to get around that
I'm getting a Weaving Hook failed, which I'm wonder if relates to Security
Manager now being deprecated. Looking at the code for SecureAction, it looks to
have checks for a null security manager.
> Java 24 restriction for sun.misc.Unsafe
> ---------------------------------------
>
> Key: FELIX-6759
> URL: https://issues.apache.org/jira/browse/FELIX-6759
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Reporter: Nicolas Roduit
> Priority: Major
>
> Starting Felix with Java 24:
> {code:java}
> WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
> WARNING: sun.misc.Unsafe::staticFieldOffset has been called by
> org.apache.felix.framework.util.SecureAction
> (file:/media/nicolas/Disk/Programming/java/maven/repository/org/apache/felix/org.apache.felix.framework/7.0.5/org.apache.felix.framework-7.0.5.jar)
> WARNING: Please consider reporting this to the maintainers of class
> org.apache.felix.framework.util.SecureAction
> WARNING: sun.misc.Unsafe::staticFieldOffset will be removed in a future
> release {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)