JDK24 WARNING: Please consider reporting this to the maintainers of class com.sun.marlin.OffHeapArray

Kevin Rushforth kevin.rushforth at oracle.com
Tue Jul 29 13:50:09 UTC 2025


Thanks for the report. This has been fixed in JavaFX 25 by JDK-8334137 [1].

Thanks.

-- Kevin

[1] https://bugs.openjdk.org/browse/JDK-8334137

On 7/29/2025 6:06 AM, Davide Perini wrote:
> Using JDK 24.0.2 and JavaFX 24 I get a lot of warnings:
>
> WARNING: A terminally deprecated method in sun.misc.Unsafe has been 
> called
> WARNING: sun.misc.Unsafe::allocateMemory has been called by 
> com.sun.marlin.OffHeapArray 
> (file:/C:/Users/sblantipodi/.m2/repository/org/openjfx/javafx-graphics/24/javafx-graphics-24-win.jar)
> WARNING: Please consider reporting this to the maintainers of class 
> com.sun.marlin.OffHeapArray
> WARNING: sun.misc.Unsafe::allocateMemory will be removed in a future 
> release
>
> Reporting them :)



More information about the openjfx-discuss mailing list