[OpenJDK 2D-Dev] RFR: 8028539: Endless loop in native code of sun.java2d.loops.ScaledBlit

Phil Race philip.race at oracle.com
Mon Oct 27 20:51:52 UTC 2014


The trigger for the bug is that there is a translate component on the 
which overflows what can be stored in a integer, and the native code we 
cannot handle this.

Although the sofware loops was hanging, additionally D3D and OGL on Windows
were not clipping this properly. The rendering appeared on screen when it
should have been clipped.

The fix is to add a test to see if any value overflows and then punt to
the TransformHelper code which can handle and clip this properly.


More information about the 2d-dev mailing list