Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8079254

[TESTBUG] 2 swing-reg tests are failing as background color mismatches with GTKL&F on Ubuntu 14.10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 9, 17
    • client-libs
    • -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

    • generic
    • linux_ubuntu

      Testsuite name: Regression
      Test name(s): javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java
      Product(s) tested: JDK 9b60(32-bit and 64-bit)
      OS/architecture: Ubuntu 14.10/i586, Ubuntu 15.04/amd64
      Error log file (if present): see comments
      Reproducible: Always
      Reproducible on machine:stt-133.ru.oracle.com, stt-136.ru.oracle.com
      Is it a Regression: No(fails for JDK 9b40, JDK 9b52 also)
      Regression introduced in release/build: N/A

      Is it a platform specific issue: Yes(passes on OEL 6.4 and Solaris(x64))
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: Yes/No
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Exception/Error from Log:
      1. javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java
      ----------System.err:(17/1365)----------
      java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
      at Common.checkShape(Common.java:233)
      at Common.checkDynamicShape(Common.java:209)
      at Common.checkDynamic(Common.java:383)
      at ShapedPerPixelTranslucentGradient.doTest(ShapedPerPixelTranslucentGradient.java:67)
      at ShapedPerPixelTranslucentGradient.main(ShapedPerPixelTranslucentGradient.java:58)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]

      2. javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java
      ----------System.err:(17/1409)----------
      java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
      at Common.checkShape(Common.java:233)
      at Common.checkDynamicShape(Common.java:209)
      at Common.checkDynamic(Common.java:383)
      at ShapedTranslucentPerPixelTranslucentGradient.doTest(ShapedTranslucentPerPixelTranslucentGradient.java:68)
      at ShapedTranslucentPerPixelTranslucentGradient.main(ShapedTranslucentPerPixelTranslucentGradient.java:59)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Background point java.awt.Point[x=282,y=282] color java.awt.Color[r=242,g=241,b=240] does not equal to background color java.awt.Color[r=0,g=0,b=255]

            Unassigned Unassigned
            sgupta Shobhit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: