Created attachment 417597 [details]
Test file to reproduce bug
Description of problem:
Version-Release number of selected component (if applicable):
Run the test file with OpenJDK. When the frame is displayed, press the "button". The background will fill completely to black.
The following test file:
Steps to Reproduce:
1. Compile and run the code with OpenJDK.
2. Press the "button".
3. Compile and run the code with Sun's JDK
4) Press the "button"
With OpenJDK, the entire panel is drawn in black.
With Sun's JDK (1.6_20), there are only a few dashed lines are drawn.
Created attachment 424442 [details]
This fixes it.
The problem was overflows in pisces/Dasher.java, pisces/PiscesMath.java, and pisces/Stroker.java.
I think I fixed them all.
I submitted this patch to the openjdk7 2d-dev mailing list, and am still waiting to hear back from them.