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

Test "java/awt/Dialog/ModalDialogTest/ModalDialogTest.java" fails because new frame was not displayed when "New Frame" button was clicked

    XMLWordPrintable

Details

    • b05
    • x86_64
    • windows_10

    Description

      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: NO. This issue happens on Windows. Not tested on macOS and Linux yet.

      General description of the problem:
      Test "java/awt/Dialog/ModalDialogTest/ModalDialogTest.java" fails on Windows 10 x64 because New frame was not displayed when "New Frame" button was clicked

      Affected tests:
      java/awt/Dialog/ModalDialogTest/ModalDialogTest.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: java/awt/Dialog/ModalDialogTest/ModalDialogTest.java
      3. Wait for the test to run completely

      Expected behavior:
      A new frame will display when the "New Frame" button is clicked

      Actual behavior:
      A new frame was not displayed when the "New Frame" button was clicked

      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=java/awt/Dialog/ModalDialogTest/ModalDialogTest.java \\
              -Dtest.file='C:\\reg\\open\\test\\jdk\\java\\awt\\Dialog\\ModalDialogTest\\ModalDialogTest.java' \\
              -Dtest.src='C:\\reg\\open\\test\\jdk\\java\\awt\\Dialog\\ModalDialogTest' \\
              -Dtest.src.path='C:\\reg\\open\\test\\jdk\\java\\awt\\Dialog\\ModalDialogTest;C:\\reg\\open\\test\\jdk\\java\\awt\\regtesthelpers' \\
              -Dtest.classes='C:\\cygwin64\\home\\trieunq\\resultsopen\\JTwork\\classes\\java\\awt\\Dialog\\ModalDialogTest\\ModalDialogTest.d' \\
              -Dtest.class.path='C:\\cygwin64\\home\\trieunq\\resultsopen\\JTwork\\classes\\java\\awt\\Dialog\\ModalDialogTest\\ModalDialogTest.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\\java\\awt\\Dialog\\ModalDialogTest\\ModalDialogTest.d\\main.0.jta'
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed! : Failure Reason:

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: