[ https://issues.apache.org/jira/browse/FELIX-6759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940562#comment-17940562 ]
Rob Walker edited comment on FELIX-6759 at 4/3/25 6:49 AM: ----------------------------------------------------------- Hi Paul - out of interest, aside from this warning did you get any other issues running Felix with J24? I'm seeing SCR (Declarative Services) 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" message that seems to be down to something inside SecureAction. Which kind of makes sense with to Security Manager being dropped in J24. Except quickly inspecting the code for SecureAction, it looks to have checks for a null security manager. was (Author: walkerr): Hi Paul - out of interest, aside from this warning did you get any other issues running Felix with J24? I'm seeing SCR (Declarative Services) 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)