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

Test javax/swing/JCheckBox/4449413/bug4449413.java fails on Windows 11 x64 because RBMenuItem's and CBMenuItem's checkmark on the left side are not visible

XMLWordPrintable

    • master
    • generic
    • windows

      OS:
      Windows

      Environments:
      Operating System: Windows 11 Pro
      Language: English (Regional Setting: English)
      Processor: Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz 2.19 GHz (2 processors)
      OS type: 64-bit
      Version 23H2
      Memory: 18 GB
      LAF: manual-laf-Windows-Dark

      Reproducible: Always

      Failed on Release/Build: JDK 23 b26
      Is it a Regression in JDK 23 release: NO
      [If Regression] Regression introduced in JDK 23 release/build: N/A
      Test result on the last GAed release for this train: Failed on JDK_23_b24
      Is it a platform-specific issue: Yes. This issue only happens on Windows.

      General description of the problem:
      RBMenuItem's and CBMenuItem's checkmark on the left side are not visible.

      Affected test:
      javax/swing/JCheckBox/4449413/bug4449413.java

      Steps to reproduce:

           1. Run command:
      #!/bin/sh -x

      jtreg \
      -ignore:quiet \
      -m \
      -gui \
      -vmoption:-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel \
      -nativepath:C:/Users/test/Desktop/Reg/jdk-23-ea+26_windows-x64_bin-tests/jdk/jtreg/native \
      -exclude:C:/Users/test/Desktop/Reg/open/test/jdk/ProblemList.txt \
      -testjdk:C:/Users/test/Desktop/Reg/jdk-23 \
      -dir:C:/Users/test/Desktop/Reg/open/test/jdk \
      -reportDir:No_80/results/JTreport \
      -workDir:No_80/results/JTwork \
      -timeoutHandlerDir:C:/Users/test/Desktop/Reg/jdk-23-ea+26_windows-x64_bin-tests/failure_handler/jtregFailureHandler.jar \
      -observerDir:C:/Users/test/Desktop/Reg/jdk-23-ea+26_windows-x64_bin-tests/failure_handler/jtregFailureHandler.jar \
      -timeoutHandler:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler \
      -observer:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver \
      -timeoutHandlerTimeout:0 \
      C:/Users/test/Desktop/Reg/open/test/jdk/:jdk_swing

            2. Run test case: javax/swing/JCheckBox/4449413/bug4449413.java
            3. Observe checkmark of Four enabled (on the left side) checkboxes and radiobuttons.
            4. Check/Uncheck and observe checkmark of RBMenuItem and CBMenuItem.

      Expected behavior:
      RBMenuItem's and CBMenuItem's checkmark on the left side should be visible.

      Actual behavior:
      RBMenuItem's and CBMenuItem's checkmark on the left side are not visible.

      Any non-default VM flags
      'C:\\Users\\test\\Desktop\\Reg\\jdk-23\\bin\\java' \\
              -Dtest.vm.opts=-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel \\
              -Dtest.tool.vm.opts=-J-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk='C:\\Users\\test\\Desktop\\Reg\\jdk-23' \\
              -Dcompile.jdk='C:\\Users\\test\\Desktop\\Reg\\jdk-23' \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.nativepath='C:\\Users\\test\\Desktop\\Reg\\jdk-23-ea+26_windows-x64_bin-tests\\jdk\\jtreg\\native' \\
              -Dtest.root='C:\\Users\\test\\Desktop\\Reg\\open\\test\\jdk' \\
              -Dtest.name=javax/swing/JCheckBox/4449413/bug4449413.java \\
              -Dtest.file='C:\\Users\\test\\Desktop\\Reg\\open\\test\\jdk\\javax\\swing\\JCheckBox\\4449413\\bug4449413.java' \\
              -Dtest.src='C:\\Users\\test\\Desktop\\Reg\\open\\test\\jdk\\javax\\swing\\JCheckBox\\4449413' \\
              -Dtest.src.path='C:\\Users\\test\\Desktop\\Reg\\open\\test\\jdk\\javax\\swing\\JCheckBox\\4449413' \\
              -Dtest.classes='C:\\Users\\test\\Desktop\\Reg\\No_80\\results\\JTwork\\classes\\javax\\swing\\JCheckBox\\4449413\\bug4449413.d' \\
              -Dtest.class.path='C:\\Users\\test\\Desktop\\Reg\\No_80\\results\\JTwork\\classes\\javax\\swing\\JCheckBox\\4449413\\bug4449413.d' \\
              -Dtest.modules=java.desktop \\
              --add-modules java.desktop \\
              -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel \\
              '-Djava.library.path=C:\\Users\\test\\Desktop\\Reg\\jdk-23-ea+26_windows-x64_bin-tests\\jdk\\jtreg\\native' \\
              com.sun.javatest.regtest.agent.MainWrapper 'C:\\Users\\test\\Desktop\\Reg\\No_80\\results\\JTwork\\javax\\swing\\JCheckBox\\4449413\\bug4449413.d\\main.0.jta'

        1. bug4449413-win10-pass.png
          bug4449413-win10-pass.png
          243 kB
        2. bug4449413-win11.png
          bug4449413-win11.png
          74 kB
        3. bug4449413.jtr
          6 kB
        4. bug4449413.mp4
          4.36 MB

            psadhukhan Prasanta Sadhukhan
            imtminhlh Minh Hoang Luu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: