JDK7: fixed RenderingBufferTest