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

javax/swing/JComponent/4337267/bug4337267.java fail only on zh_CN and OL7.8 x64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: client-libs
    • Labels:
    • Environment:

      OL7.8

      Description

      Test with openJDK-15 b29 build and on OL7.8 with zh_CN language. javax/swing/JComponent/4337267/bug4337267.java fail. See the log.
      ----------System.err:(18/2142)----------
      java.lang.RuntimeException: Expected BufferedImage@57ca491f: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0, got BufferedImage@2ef58516: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0
      at bug4337267.fail(bug4337267.java:106)
      at bug4337267.assertEquals(bug4337267.java:115)
      at bug4337267$2.run(bug4337267.java:86)
      at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected BufferedImage@57ca491f: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0, got BufferedImage@2ef58516: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0
      ----------rerun:(28/2402)*----------
      cd /home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/workDir/test_jdk_0/scratch && \\
      DISPLAY=:2 \\
      GNOME_DESKTOP_SESSION_ID=this-is-deprecated \\
      HOME=/home/opc \\
      LANG=zh_CN.utf8 \\
      LC_ALL=zh_CN.utf8 \\
      PATH=/bin:/usr/bin:/usr/sbin \\
      XMODIFIERS=@im=ibus \\
      CLASSPATH=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/workDir/test_jdk_0/classes/javax/swing/JComponent/4337267/bug4337267.d:/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/test/open/test/jdk/javax/swing/JComponent/4337267:/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/jct-tools/lib/javatest.jar:/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/jct-tools/lib/jtreg.jar \\
          /home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/../jdk-15/bin/java \\
              -Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/../jdk-15 \\
              -Dcompile.jdk=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/../jdk-15 \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.root=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/test/open/test/jdk \\
              -Dtest.name=javax/swing/JComponent/4337267/bug4337267.java \\
              -Dtest.file=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/test/open/test/jdk/javax/swing/JComponent/4337267/bug4337267.java \\
              -Dtest.src=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/test/open/test/jdk/javax/swing/JComponent/4337267 \\
              -Dtest.src.path=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/test/open/test/jdk/javax/swing/JComponent/4337267 \\
              -Dtest.classes=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/workDir/test_jdk_0/classes/javax/swing/JComponent/4337267/bug4337267.d \\
              -Dtest.class.path=/home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/workDir/test_jdk_0/classes/javax/swing/JComponent/4337267/bug4337267.d \\
              -Dtest.modules=java.desktop \\
              --add-modules java.desktop \\
              -Dfile.encoding=UTF-8 \\
              com.sun.javatest.regtest.agent.MainWrapper /home/opc/jdktest/workspace/Standalone-GlobalizationTest/1529/workDir/test_jdk_0/javax/swing/JComponent/4337267/bug4337267.d/main.0.jta
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected BufferedImage@57ca491f: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0, got BufferedImage@2ef58516: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected BufferedImage@57ca491f: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0, got BufferedImage@2ef58516: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 500 height = 100 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0

        Attachments

          Activity

            People

            Assignee:
            pbansal Pankaj Bansal
            Reporter:
            yzhou Daisy Zhou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: