Hi Murali, Kevin, Alexander,

 

Please review the webrev :

http://cr.openjdk.java.net/~arajkumar/ankit/8133775/webrev.00/

 

JBS:

https://bugs.openjdk.java.net/browse/JDK-8133775

 

Changes:

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.

 

Regards,

Ankit

 

 

Reply via email to