In addition, I have patched with this minor patch which turns off checking if an AWT surface is translucent or not, since I use this JDK with netbeans. The current code causes rendering artifacts with transparent surfaces, but this is not really a big issue when running netbeans.
I am not experienced with packaging openJDK into an installer, so am only providing a zipped file of the resulting built JDK.
To use with netbeans, download the openjdk8-subpixel.zip file, unzip into an appropriate location, and point netbeans to use it by editing
/Applications/NetBeans/NetBeans\ 8.1.app/Contents/Resources/NetBeans/etc/netbeans.conf
adding or modifying the netbeans_jdkhome property like
netbeans_jdkhome="/Users/tor/java/scratch/openjdk8/jdk/"