toast-haste.framework icon indicating copy to clipboard operation
toast-haste.framework copied to clipboard

Illegal reflective access warning when running with Java 9

Open ghroot opened this issue 6 years ago • 1 comments

Expected behaviour

  • No warning to be printed

Actual behaviour

  • Prints warning on startup: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.nhnent.haste.bootstrap.loop.NioEventLoop (haste-all-1.0.0.jar) to field sun.nio.ch.SelectorImpl.selectedKeys WARNING: Please consider reporting this to the maintainers of com.nhnent.haste.bootstrap.loop.NioEventLoop 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

TOAST Haste version

  • 1.0.0

JDK version

  • 9.0

OS version

  • MacOS El Capitan

ghroot avatar Nov 07 '17 08:11 ghroot

@ghroot Thanks for feedback! Haste uses excessive java's reflection for performance. In Java 9, this reflection is seemed to considered by illegal. I will check this out. Again, thanks for feedback!!

hide1202 avatar Nov 08 '17 01:11 hide1202