-
Notifications
You must be signed in to change notification settings - Fork 35
Description
I've received a report of warnings related to the use of sun.misc.Unsafe when using the Eclipse Dash License Tool with Java 24.
It appears to be related to the dependency injection provider:
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::staticFieldBase has been called by com.google.inject.internal.aop.HiddenClassDefiner (file:/.../org.eclipse.dash.licenses-1.1.1-20250909.055027-577.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.inject.internal.aop.HiddenClassDefiner
WARNING: sun.misc.Unsafe::staticFieldBase will be removed in a future release
Using this configuration:
% java --version
java 24.0.2 2025-07-15
Java(TM) SE Runtime Environment (build 24.0.2+12-54)
Java HotSpot(TM) 64-Bit Server VM (build 24.0.2+12-54, mixed mode, sharing)
We've been expecting this deprecation (the OpenJDK team has been talking about it for years); in fact, I'd expected that the we should have seen the warning long before now... Regardless, I was not aware that we were using affected content. Investigate.