Possible regression between IcedTea6-1.8 and IcedTea6-1.9
Dr Andrew John Hughes
ahughes at redhat.com
Thu Aug 12 11:34:11 PDT 2010
On 18:49 Thu 12 Aug , Pavel Tisnovsky wrote:
> 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
>
> Hi Andrew,
>
> thanks for comments
> > 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?
>
> no I didn't test it in 7 yet, I'm going to try it.
>
> >
> > Note: There is no 1.9 release yet. The branch was created specifically
> > so we'd find stuff like this before release :-)
> yes I know I just wanted to specify which sources I've used.
It's good to know you're testing it and finding bugs!
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list