WARNING: An illegal reflective access operation has occurred
axipher opened this issue ยท 3 comments
When starting with Java 11, I get a warning on start-up relating to LuckPerms while running LuckPerms 5.0.94 and PaperMC 1.15.2 (Version 136)
C:\srv\minecraft-server>C:\srv\minecraft-server\jdk-11.0.6\bin\java.exe -Xms10G -Xmx10G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing.aikars.flags=mcflags.emc.gs -jar paperclip_latest.jar
System Info: Java 11 (Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS) Host: Windows Server 2019 10.0 (amd64)
Loading libraries, please wait...
[14:39:10 INFO]: Starting minecraft server version 1.15.2
[14:39:10 INFO]: Loading properties
[14:39:11 INFO]: This server is running Paper version git-Paper-136 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
[14:39:11 INFO]: Debug logging is disabled
[14:39:11 INFO]: Server Ping Player Sample Count: 12
[14:39:11 INFO]: Using 4 threads for Netty based IO
[14:39:11 INFO]: Default game type: SURVIVAL
[14:39:11 INFO]: Generating keypair
[14:39:11 INFO]: Starting Minecraft server on *:25566
[14:39:11 INFO]: Using default channel type
> WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by me.lucko.luckperms.common.dependencies.classloader.ReflectionClassLoader (file:/C:/srv/minecraft-server/plugins/LuckPerms-Bukkit-5.0.94.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of me.lucko.luckperms.common.dependencies.classloader.ReflectionClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Thank you for not checking about other issues with that exact error message and opening yet another duplicate.
Thank you for not checking about other issues with that exact error message and opening yet another duplicate.
Sorry.
When I searched, I forgot GitHub defaults to only showing Open Issues and there were no current Issues Open with "Reflective" in them.