# Update your local clone
cd openjfx
hg pull
hg update
# Download the rt.patch for the webrev (e.g. http://cr.openjdk.java.net/~flar/RT-40533/webrev.02/)
wget http://cr.openjdk.java.net/~flar/RT-40533/webrev.02/rt.patch
# Apply the patch
patch -N -p1 < rt.patch
# Build the overlay
gradle openZip
# The updated sdk overlay will be in bundles/javafx-sdk-overlay.zip
cd openjfx
hg pull
hg update
# Download the rt.patch for the webrev (e.g. http://cr.openjdk.java.net/~flar/RT-40533/webrev.02/)
wget http://cr.openjdk.java.net/~flar/RT-40533/webrev.02/rt.patch
# Apply the patch
patch -N -p1 < rt.patch
# Build the overlay
gradle openZip
# The updated sdk overlay will be in bundles/javafx-sdk-overlay.zip