FW:  Review request for 8133775 : Some WebNode tests crash JVM
a.ankit.srivastava at oracle.com
Tue Feb 23 08:35:45 UTC 2016
Hi Murali, Kevin, Alexander,
Please review the webrev :
1) Made "checkEventThread()" function public to make it accessible to JSObject class which is in different package and is not a derived class of Invoker.
2) Added check to throw exception instead of JVM crash if functions are called from non-jfx thread.
Reference : https://docs.oracle.com/javafx/2/api/javafx/scene/web/WebEngine.html
Verified on Linux 64 machine with changes , exception is being thrown instead of JVM crash.
On Windows 64 JVM doesn't crash previously, with code changes exception will be thrown.
More information about the openjfx-dev