Description of problem: Just installed fc6, followed instructions to enable Java applets. A very simple pie chart applet displays all wrong. See the URL above for an example. The referenced web page has a pointer to the source for the applet. Version-Release number of selected component (if applicable): /usr/bin/java java version "1.4.2" gij (GNU libgcj) version 4.1.1 20061011 (Red Hat 4.1.1-30) How reproducible: always Steps to Reproduce: 1. Visit http://www.multicians.org/thvv/pie-chart.html in firefox. 2. 3. Actual results: The lines that should run from the center of the pie chart to the circumference are plotted as chords of the circle instead. This leaves a big gray patch in the center of the circle. Expected results: Try the same page on OS X or on Fedora FC5/Firefox 1.5 with Sun Java installed. Pie chart displays as expected. Even Windows can do it, in FF or MSIE. Additional info:
Assigning to Francis Kung. Francis, can you see if this is fixed on GNU Classpath CVS HEAD?
It appears that the statement g.fillArc(pieBorderWidth, pieBorderWidth, pieDiameter, pieDiameter, startDeg, arcDeg); is not filling the triangle defined by the end points of the chord and the center of the circle. Strange that whatever bug causes this AWT routine to fail would not cause other failures also.
I can confirm that this bug still exists on the latest GNU Classpath. Looking into it...
This has been fixed upstream in GNU Classpath CVS.