pjfanning opened a new issue, #1891:
URL: https://github.com/apache/pekko/issues/1891

   sun.misc.Unsafe is deprecated and Java 23+ users will be warned when we use 
it and generally, the class is strongly discouraged.
   
   
https://github.com/apache/pekko/blob/696b210348936901446dddf2ce57ca7f571b7f23/actor/src/main/java/org/apache/pekko/actor/dungeon/AbstractActorCell.java#L19
   
   The Unsafe.instance.objectFieldOffset method doesn't seem to have a 
replacement.
   
   These offsets in AbstractActorCell are then accessed and manipulated using 
more methods from sun.misc.Unsafe.
   Examples:
   * 
https://github.com/apache/pekko/blob/696b210348936901446dddf2ce57ca7f571b7f23/actor/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala#L41
   * 
https://github.com/apache/pekko/blob/696b210348936901446dddf2ce57ca7f571b7f23/actor/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala#L117
   * 
https://github.com/apache/pekko/blob/696b210348936901446dddf2ce57ca7f571b7f23/actor/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala#L124
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to