Hi, On Fri, 2008-11-21 at 22:51 +0100, Mark Wielaard wrote: > There is a bug in the pisces Stroker in finish(). When ldx and ldy are > so small (zero) that lineLength() will return zero, then you will get a > div by zero exception. > > You can see this with for example this webstart application (you will > need to have IcedTeaWebstart [netx] installed): > http://linuxhippy.blogspot.com/2008/11/jgears2-rendermark.html > > java.lang.ArithmeticException: / by zero > at sun.java2d.pisces.Stroker.finish(Stroker.java:698) > at sun.java2d.pisces.Stroker.close(Stroker.java:592) > [...]
To make sure that the patch isn't forgotten I also filed this as: https://bugs.openjdk.java.net/show_bug.cgi?id=100064 Thanks, Mark