I'm successfully using JWebBrowser on 32 bit Linux (Centos 6) with the Mozilla interface. Occasionally, the browser will freeze and I see this written to the console:
For now, this is just a warning. This is due to the module system introduced in Java 9.
Perhaps I could pass "--add-opens=java.base/java.lang=ALL-UNNAMED" when I spawn the process responsible for the native stuff to get rid of the warning, but then I also need to test the version of Java to not use that option if < Java 9.
Hope this helps,
-Christopher
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been monitoring this problem for a while, and the issue is not so much that it's a warning, but that when it occurs, the browser freezes for about 90 seconds, after which control is passed back to my app and it continues normally. Perhaps there's a code path that both leads to the reflective access warning and to this condition? I tried upgrading to 1.03 and the issue persists.
Thanks for any help,
Ithran
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm successfully using JWebBrowser on 32 bit Linux (Centos 6) with the Mozilla interface. Occasionally, the browser will freeze and I see this written to the console:
Does anyone know what the cause is and how to fix it?
Thanks!
Hi,
Sorry for the late reply...
For now, this is just a warning. This is due to the module system introduced in Java 9.
Perhaps I could pass "--add-opens=java.base/java.lang=ALL-UNNAMED" when I spawn the process responsible for the native stuff to get rid of the warning, but then I also need to test the version of Java to not use that option if < Java 9.
Hope this helps,
-Christopher
Hi Chris,
I've been monitoring this problem for a while, and the issue is not so much that it's a warning, but that when it occurs, the browser freezes for about 90 seconds, after which control is passed back to my app and it continues normally. Perhaps there's a code path that both leads to the reflective access warning and to this condition? I tried upgrading to 1.03 and the issue persists.
Thanks for any help,
Ithran