eclipse-paho / paho.mqtt.java

Eclipse Paho Java MQTT client library. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
2.15k stars 893 forks source link

An illegal reflective access operation has occurred -> openjdk 12.0.2-BellSoft 2019-07-16 #694

Open thorsten-schwartz opened 5 years ago

thorsten-schwartz commented 5 years ago

Please fill out the form below before submitting, thank you!

If this is a bug regarding the Android Service, please raise the bug here instead: https://github.com/eclipse/paho.mqtt.android/issues/new

at: openjdk 12.0.2-BellSoft 2019-07-16 OpenJDK Runtime Environment (build 12.0.2-BellSoft+10) OpenJDK Server VM (build 12.0.2-BellSoft+10, mixed mode)

following error: Aug 29 19:38:54 alamosaux selcall.sh[16064]: WARNING: An illegal reflective access operation has occurred Aug 29 19:38:54 alamosaux selcall.sh[16064]: WARNING: Illegal reflective access by org.eclipse.paho.client.mqttv3.internal.FileLock (file:/home/selcall/selcall/JSelcall.jar) to method sun.nio.ch.FileLockImpl.release() Aug 29 19:38:54 alamosaux selcall.sh[16064]: WARNING: Please consider reporting this to the maintainers of org.eclipse.paho.client.mqttv3.internal.FileLock Aug 29 19:38:54 alamosaux selcall.sh[16064]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations Aug 29 19:38:54 alamosaux selcall.sh[16064]: WARNING: All illegal access operations will be denied in a future release

What can be done?

Greets Thorsten

icraggs commented 5 years ago

This message has appeared with recent version of the JDK. The tests are still working. I will take a look for the next release.

thorsten-schwartz commented 5 years ago

Thanks, same bug also in

java --version openjdk 13-BellSoft 2019-09-17 OpenJDK Runtime Environment (build 13-BellSoft+33) OpenJDK Server VM (build 13-BellSoft+33, mixed mode)

on Raspi.

Greets from Germany