[8] Review Request: JDK-8026871 NASHORN TEST: Enable possibility to test Nashorn use of JavaFX canvas.

Konstantin Shefov konstantin.shefov at oracle.com
Fri Oct 18 07:20:45 PDT 2013


Hello,

Please review a new Nashorn test feature:

JDK-8026871 NASHORN TEST: Enable possibility to test Nashorn use of 
JavaFX canvas.

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

The webrev is: http://cr.openjdk.java.net/~kshefov/8026871/webrev.00

Nashorn can use JavaFX canvas to draw images like it is in HTML5.

The possibility of testing this should be added to Nashorn WS.
2 example tests were made (drawing algorithms were taken from Google 
Experiments).
Later more tests will be added.

To run JavaFX Nashorn tests one should go to $NASHORN_WS/make directory 
and type
$ANT_HOME/bin/ant testjfx

The host where the tests are run should have a display connected.

Thanks,
Konstantin


More information about the nashorn-dev mailing list