[OpenJDK 2D-Dev] Review Reqeust for Bug 100068 - SunGraphics2D exposes a reference to itself while non fully initialised

Mario Torre mario.torre at aicas.com
Thu Jun 18 12:39:15 UTC 2009


Il giorno gio, 18/06/2009 alle 00.34 +0200, Mario Torre ha scritto:

> But I'll debafterug it a little further and send you some updates asap.
> 
> Cheers,
> Mario

Hello!

The pipelines that use a loops after being invalidated without checking
if it's valid or not (null) are those so far:

LCDTextRenderer
GlyphListLoopPipe
AATextRenderer

Those all are subclasses of GlyphListLoopPipe.

The LCDTextRenderer never fails if I don't explicitly set to null the
loops in invalidatePipe, same happens for instances of GlyphListLoopPipe
which don't fail immediately as when I set the loops to null, so I think
some of those calls use loops there were initialised somehow from
validatePipe in some previous call to this method, but that should not
be valid anymore.

There are no other places where I get NPE, but I've tested only with the
Java2D demo so far.

Cheers,
Mario
-- 
Mario Torre, Software Developer, http://www.jroller.com/neugens/
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-44
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
Geschäftsführer: Dr. James J. Hunt

Please, support open standards:
http://endsoftpatents.org/




More information about the 2d-dev mailing list