JDK 9 Rampdown Phase 2

2017-03-17 Thread Kevin Rushforth
As a reminder, we are now in Rampdown Phase 2 (RDP2) for JDK 9. This 
applies to JavaFX as well as the rest of the JDK, so any further changes 
to FX 9-dev requires approval. For those who are not on jdk9-dev, please 
see the message [1] that Mark Reinhold sent yesterday.


-- Kevin

[1] http://mail.openjdk.java.net/pipermail/jdk9-dev/2017-March/005666.html



RFR: 8088395: Print dialogs are not blocking/modal w.r.t specified owner windows

2017-03-17 Thread Phil Race

This is the 8u backport of this FX+JDK fix

Not much changed so not much re-review is needed.

First the FX part.

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

webrev : http://cr.openjdk.java.net/~prr/8088395.8u/

The patch applied cleanly but the fix needed some small updates.

In JDK 9 we used

final TKStage stage = WindowHelper.getPeer(owner);

In JDK 8 that helper does not (need to) exist as we still have the impl 
methods

so it looks like

final TKStage stage = owner.impl_getPeer();


Also in J2DPrinterJob.java I was able to remove (old lines 105-110)
a condition which requested that asking for the native dialog be
skipped on Linux. The JDK bug which required that workaround has
now been backported.


On the JDK side no changes were needed, no backport review requested
but here are the changes which will be needed by anyone who wants to
test it:

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

http://cr.openjdk.java.net/~prr/8176350.8u/

-phil.