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

Test "javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java" fails on Windows 10 x64 because there are some buttons did not display button name

XMLWordPrintable

    • b05
    • x86_64
    • windows_10

      OS:
      Windows

      Environments:
      Operating System: Windows 10 Pro 64-bit
      Language: English (Regional Setting: English)
      Processor: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 CPUs), ~2.5GHz
      Memory: 8 GB

      Reproducible: Always

      Failed on Release/Build: JDK 20 b27
      Is it a Regression in JDK 20 release: No
      [If Regression] Regression introduced in JDK 20 release/build: N/A
      Test result on the last GAed release for this train: Failed on JDK 19 b33
      Is it a platform-specific issue: YES. This issue happens on Windows only.

      General description of the problem:
      Test "javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java" fails on Windows 10 x64 because there are some buttons did not display the button name.

      Affected tests:
      javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java

      Steps to reproduce:
      1. Run command: ksh /cygdrive/c/jtreg/bin/jtreg -testjdk:/cygdrive/c/jdk-20 -exclude:/cygdrive/c/reg/open/test/jdk/ProblemList.txt -verbose -gui -w resultsopen/JTwork -r resultsopen/report -manual /cygdrive/c/reg/open/test/jdk/:jdk_desktop
      2. Run test case: javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java
      3. Wait for the test to run completely

      Expected behavior:
      Display the content of the buttons

      Actual behavior:
      The buttons did not display the button name

      Any non-default VM flags
      -Dtest.vm.opts= \\
              -Dtest.tool.vm.opts= \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk='c:\\jdk-20' \\
              -Dcompile.jdk='c:\\jdk-20' \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.root='C:\\reg\\open\\test\\jdk' \\
              -Dtest.name=javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java \\
              -Dtest.file='C:\\reg\\open\\test\\jdk\\javax\\swing\\JFileChooser\\FileSystemView\\CustomFSVLinkTest.java' \\
              -Dtest.src='C:\\reg\\open\\test\\jdk\\javax\\swing\\JFileChooser\\FileSystemView' \\
              -Dtest.src.path='C:\\reg\\open\\test\\jdk\\javax\\swing\\JFileChooser\\FileSystemView;C:\\reg\\open\\test\\jdk\\java\\awt\\regtesthelpers' \\
              -Dtest.classes='C:\\cygwin64\\home\\trieunq\\resultsopen\\JTwork\\classes\\javax\\swing\\JFileChooser\\FileSystemView\\CustomFSVLinkTest.d' \\
              -Dtest.class.path='C:\\cygwin64\\home\\trieunq\\resultsopen\\JTwork\\classes\\javax\\swing\\JFileChooser\\FileSystemView\\CustomFSVLinkTest.d;C:\\cygwin64\\home\\trieunq\\resultsopen\\JTwork\\classes\\java\\awt\\regtesthelpers' \\
              -Dtest.modules=java.desktop \\
              --add-modules java.desktop \\
              com.sun.javatest.regtest.agent.MainWrapper 'C:\\cygwin64\\home\\trieunq\\resultsopen\\JTwork\\javax\\swing\\JFileChooser\\FileSystemView\\CustomFSVLinkTest.d\\main.0.jta'
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed! : Failure Reason:

            tr Tejesh R
            imttrieunq Trieu Quoc Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: