leerho commented on issue #270:
URL: 
https://github.com/apache/datasketches-memory/issues/270#issuecomment-3820307426

   Sorry, that won't work.  DS-memory 3.0.2 requires access to several JVM 
internal classes (Unsafe, VM, Bits, etc) and since Java 11, Oracle has 
gradually removed the ability to access those internal classes at all.  The 
Panama project at Oracle eventually created a replacement for what we did with 
Memory (12 years ago), but it wasn't fully available as an LTS java release 
until Java 25.  As of Java 25 (our DS-java 9.0.0 release) we completely rewrote 
the whole library, removing DS-Memory and using the new FFM capabilities native 
to Java.  
   
   We had no choice,  and as a result the APIs had to change as well.   The 
good news is that our library is still backward compatible with the binary 
serialization formats created from our very first releases. So you can still 
read the old sketch images in binary form.  
   
   My advice is for you to rewrite your applications to adapt to the API in our 
DS-Java 9.0.0. It is 100% native Java code with no runtime dependencies and It 
will be around for quite a while.  It has a number of other improvements as 
well.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to