Hello Phil, Here is a small fix of quite annoying exception that we sometimes have in IDEA product. The bug is assigned to you so, please have a look.
Bug: https://bugs.openjdk.java.net/browse/JDK-7179454 Webrev: http://cr.openjdk.java.net/~avu/JDK-7179454/webrev.00 <http://cr.openjdk.java.net/~avu/JDK-7179454/webrev.00> Sometimes rendering is performed into surface of wrong type, so we need to recreate it by throwing InvalidPipeException. The exception is caught at upper level and the surface of appropriate type is created. Similar approach is used in OpenGL and D3D pipeline. Best Regards, Alexey