Hi all,
Could you please review the fix for:
https://bugs.openjdk.java.net/browse/JDK-8150181
webrev:
http://cr.openjdk.java.net/~mcherkas/8150181/webrev.02/
Javafx print is slow because after sending node for printing
we wait 1 sec before checking that page was done,
see implPrintPage method:
while (!pageDone) {
synchronized (monitor) {
try {
monitor.wait(1000);
} catch (InterruptedException e) {
}
}
}
so if you need to print 100 pages to pdf you will have to wait
for 100 seconds while with javax.print it happens almost instantly.
I added "notify" when page is printed, so now we start a new printing
without waiting.
Thanks,
Mikhail.