Possible regression between IcedTea6-1.8 and IcedTea6-1.9
Pavel Tisnovsky
ptisnovs at redhat.com
Fri Aug 13 08:12:08 PDT 2010
Dr Andrew John Hughes wrote:
> On 18:27 Thu 12 Aug , Pavel Tisnovsky wrote:
>> Hi all,
>>
>> I tried to find out why some new regression tests does not pass on the
>> IcedTea6 HEAD and - by the way - I may have found the regression between
>> IcedTea6 IcedTea6-1.8 and-1.9.
>>
>> When the following very simple test is run with option
>> -Dsun.java2d.opengl set to True and I run it inside VNC session (ie
>> without acceleration):
>>
>> import javax.swing.JPanel;
>>
>> public class Test extends JPanel {
>> public Test() {
>> }
>>
>> public static void main(String[] args)
>> {
>> Test t = new Test();
>> System.out.println("Test Passed.");
>> }
>> }
>>
>> It simply wrote warning message in IcedTea6-1.8:
>>
>> /temp/icedtea6-1.8/openjdk/build/linux-amd64/j2sdk-image/bin/java
>> -Dsun.java2d.opengl=True Test
>> Could not enable OpenGL pipeline for default config on screen 0
>> Test Passed.
>>
>> but it failed in IcedTea6-1.9 (and HEAD too):
>>
>> /temp/icedtea6-1.9/openjdk.build/j2sdk-image/bin/java
>> -Dsun.java2d.opengl=True Test
>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> sun.java2d.opengl.OGLContext.getOGLIdString()Ljava/lang/String;
>> at sun.java2d.opengl.OGLContext.getOGLIdString(Native Method)
>> at
>> sun.java2d.opengl.GLXGraphicsConfig$1.run(GLXGraphicsConfig.java:126)
>> at
>> sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:220)
>> ~
>>
>>
>> Tested on RHEL5 x86_64 in VNC session, DISPLAY is set to :2.0 (it's
>> correct, of course).
>>
>> Do anyone remember that we did any changes in XRender or java2d.opengl
>> packages between 1.8 and 1.9?
>>
>> PS: at least these regression tests fail due to issue mentioned above:
>> FAILED: sun/java2d/DirectX/AcceleratedScaleTest/AcceleratedScaleTest.java
>> FAILED: sun/java2d/DirectX/AccelPaintsTest/AccelPaintsTest.java
>> FAILED:
>> sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java
>> FAILED: sun/java2d/DirectX/OverriddenInsetsTest/OverriddenInsetsTest.java
>> FAILED:
>> sun/java2d/DirectX/StrikeDisposalCrashTest/StrikeDisposalCrashTest.java
>> FAILED: sun/java2d/DirectX/TransformedPaintTest/TransformedPaintTest.java
>> FAILED: sun/java2d/OpenGL/DrawBufImgOp.java
>> FAILED: sun/java2d/OpenGL/GradientPaints.java
>> FAILED: sun/java2d/pipe/hw/RSLAPITest/RSLAPITest.java
>> FAILED: sun/java2d/pipe/MutableColorTest/MutableColorTest.java
>>
>> Cheers
>> Pavel
>
> As discussed on the mailing list, XRender was updated to the new version:
>
> http://icedtea.classpath.org/hg/release/icedtea6-1.9/rev/9da4f50c13c0
>
> Part of this involved updating the pipeline code which XRender relies on
> (see the patch). Both are 7 backports. Have you checked whether the
> same tests fail in 7?
I successfully run the test against IcedTea7 1.4 built from /hg/icedtea/
repository. Is this the correct version of JDK7? I'll try to compare the
mentioned patch with the O7 sources.
>
> Note: There is no 1.9 release yet. The branch was created specifically
> so we'd find stuff like this before release :-)
More information about the distro-pkg-dev
mailing list