[Biojava-l] Re: JDK1.4 and BJ1.3

Keith James kdj@sanger.ac.uk
24 Oct 2002 11:03:41 +0100


On Linux at least there are some showstopper Java2D bugs which
manifest themselves in 1.4, but not 1.3:

Symptom 1:

With antialiasing off

PairwiseDiagonalRenderer shows *many* fewer lines than expected but
also shows artefactual lines in the wrong places. All the hundreds of
missing lines appear if antialiasing is turned on and the artefactual
lines vanish. Unfortunately, this results in symptom 2 below.

Symptom 2:

With antialising on

sun.dc.pr.PRException: endPath: bad path at
        sun.dc.pr.Rasterizer.endPath(Rasterizer.java:537) at
        sun.java2d.pipe.DuctusRenderer.createShapeRasterizer
        (DuctusRenderer.java:374)
        etc.

when drawing lines. Probably related to bug 4485298 (reported Jul 27,
2001, in progress).

I'd still like to be able to do a 1.3-compatible build to support
applications which need this.

Keith

-- 

- Keith James <kdj@sanger.ac.uk> bioinformatics programming support -
- Pathogen Sequencing Unit, The Wellcome Trust Sanger Institute, UK -