Unexplained Illegal Reflective Access Operation on JreHiDpiUtil Follow
Answered
Every time I run the plugin with :runIde in gradle, I get these warnings:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.ui.JreHiDpiUtil to method sun.java2d.SunGraphicsEnvironment.isUIScaleEnabled()
WARNING: Please consider reporting this to the maintainers of com.intellij.ui.JreHiDpiUtil
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
It's weird because I don't use any of the classes defined, and this error has come up ever since I followed the Simple plugin tutorial. It doesn't really affect the plugin, but it does say to report the warning to someone who might know what to do about it, so that's what I'm doing!
Please sign in to leave a comment.
Please see https://youtrack.jetbrains.com/issue/IDEA-218770
Yann Cebron, Yes that looks like the same problem, but I don't see any answers to the problem in that YouTrack ticket...
For now, you can safely ignore such warnings