ProtocolLib

3M Downloads

Terminall deprecated method called

PC1up opened this issue ยท 0 comments

commented
  • This issue is not solved in a development build

Describe the bug
CloudNet produces the following warning when starting a server with ProtocolLib installed:

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::staticFieldOffset has been called by com.comphenix.protocol.reflect.accessors.MethodHandleHelper 

To Reproduce
Steps to reproduce the behavior:

  1. Start a CloudNet instance
  2. Install ProtocolLib on a server
  3. Restart the server
  4. See warning

Expected behavior
N/A

Screenshots
N/A

Version Info
ProtocolLib Version: ProtocolLib v5.4.0-SNAPSHOT-748
Bukkit Version: 1.21.4-R0.1-SNAPSHOT
Server Version: 1.21.4-231-09e9afd (MC: 1.21.4)
Java Version: 24.0.1

Additional context
I have just recently upgraded to Java 24 (since CloudNet decided to update itself and now requires Java 24)