Hi,

Please review the fix for bug 8235904 "Infinite loop when rendering
huge lines": http://cr.openjdk.java.net/~ceisserer/8235904/webrev.01/

The issue was caused by integer overflow during clipping: While the
original native code used int or long depending on the coordinate
range, the java-port unconditionally always used ints - which led to
the issue.
The code was ported to java back then to avoid JNI overhead.

A big thanks to Mario Torre for analyzing the issue in detail and
bringing it to my attention.

Thanks, Clemens

Reply via email to