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

Jim Graham Jim.A.Graham at Sun.COM
Tue Jun 16 22:24:05 UTC 2009


Not necessarily.  The demo serves to test a wide variety of 2D 
functionality all in one place.  It has worked very well to point out 
real bugs in the past that we have fixed, though it does have some 
questionable practices inside it that can turn up false bugs and I 
believe its abuse of threading is one such practice.

Send me (off-line) the full stack traces of the failures you were seeing 
and I'll check and see if they occur in areas where it might be trying 
to do graphics from multiple threads at once...

			...jim

Mario Torre wrote:
> Il giorno mar, 16/06/2009 alle 12.08 -0700, Jim Graham ha scritto:
> 
>> It's probably also a good place to let slip that a certain demo that was 
>> mentioned previously in the thread has always been considered "poorly 
>> written" and I wouldn't put it past it to be violating the threading 
>> design goals we have.  But I would never come right out and say 
>> something like that since it serves as a good "make sure even kooky 
>> things continue to work" telltale...  [goes back to looking nonchalant]
>>
> 
> Ugh... don't tell me I'm debugging with a wrong test case... :S
> 
> Cheers,
> Mario



More information about the 2d-dev mailing list