Bug 597227

Summary: Dashed Lines Off Clip Can Black Out Graphics
Product: Red Hat Enterprise Linux 5 Reporter: harry.kantor
Component: java-1.6.0-openjdkAssignee: Denis Lila <dlila>
Status: CLOSED NEXTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: low    
Version: 5.5CC: dbhole, harry.kantor
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-30 14:35:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Test file to reproduce bug
none
This fixes it. none

Description harry.kantor 2010-05-28 13:07:13 UTC
Created attachment 417597 [details]
Test file to reproduce bug

Description of problem:


Version-Release number of selected component (if applicable):
java-1.6.0-openjdk-1.6.0.0-1.11.b16.el5


How reproducible:

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"
  
Actual results:

With OpenJDK, the entire panel is drawn in black.


Expected results:

With Sun's JDK (1.6_20), there are only a few dashed lines are drawn.

Comment 1 Denis Lila 2010-06-16 13:23:24 UTC
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.