Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal reflective access warning when running with Java 9 #12

Open
ghroot opened this issue Nov 7, 2017 · 1 comment
Open

Illegal reflective access warning when running with Java 9 #12

ghroot opened this issue Nov 7, 2017 · 1 comment

Comments

@ghroot
Copy link

ghroot commented Nov 7, 2017

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
@hide1202
Copy link
Contributor

hide1202 commented Nov 8, 2017

@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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants