A terminally deprecated method in sun.misc.Unsafe has been called
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 14h
- PR unite (30g)
- 43
Descrizione
With JDK 25 we have:
```
[INFO] --- spotless:3.1.0:apply (default) @ ...
[INFO] Index file does not exist. Fallback to an empty index
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::staticFieldBase has been called by com.diffplug.spotless.java.ModuleHelper (file:/../.m2/repository/com/diffplug/spotless/spotless-lib/4.1.0/spotless-lib-4.1.0.jar)
WARNING: Please consider reporting this to the maintainers of class com.diffplug.spotless.java.ModuleHelper
WARNING: sun.misc.Unsafe::staticFieldBase will be removed in a future release
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Reproduce the warning with JDK 25 and inspect the com.diffplug.spotless.java.ModuleHelper path in spotless-lib 4.1.0, using the Maven Spotless apply output as the starting point. Done means the terminal deprecation warning is no longer emitted while formatting still completes successfully.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100