[OpenJDK 2D-Dev] Reviewer needed - new regression test for checking initialization of OpenGLContextInit

Pavel Tisnovsky ptisnovs at redhat.com
Wed May 11 08:57:52 UTC 2011

Phil Race wrote:
> On 5/6/2011 4:35 AM, Pavel Tisnovsky wrote:
>> Phil Race wrote:
>>> I am not sure what value this test adds. There are already plenty of
>>> tests that create a Frame using the OpenGL pipeline.
>> Hi Phil,
>> sure there are many tests which uses OpenGL but I can't find any simple
>> test which only check the OpenGLContext initialization.
> But since they test it *and* something else I still don't see the point
> of this test.

Ah ok. I always thought that the regression tests have to be written so
they were simple reproducers of a single specific issue. We are using
this regression test in IcedTea as a check if some OpenGL-specific
functions are properly listed in
jdk/make/sun/xawt/mapfile-vers (there were bug in older IcedTea versions).


> -phil.
>> Regards,
>> Pavel
>>> -phil.
>>> On 5/5/2011 8:23 AM, Pavel Tisnovsky wrote:
>>>> Hi all,
>>>> I'd like to add new regression test to OpenJDK7 and backport it to
>>>> OpenJDK6 too. This test simply checks if it is possible to make
>>>> instance
>>>> of OpenGLContextInit class (and if none exception is thrown).
>>>> Webrev containing this test is available at:
>>>> http://cr.openjdk.java.net/~ptisnovs/jtreg-jdk-new-test-OpenGLContextInit/
>>>> Can anybody please review it?
>>>> Thank you in advance,
>>>> Pavel Tisnovsky

More information about the 2d-dev mailing list