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

Test javax/swing/JFrame/bug4419914.java failed because The End and Start buttons are not placed correctly and Tab focus does not move as expected

XMLWordPrintable

    • b22
    • generic
    • generic

        OS:
        Windows
        Ubuntu Linux
        MacOS

        Environments:
        Operating System: Windows 10 Pro
        Language: English (Regional Setting: English)
        Processor: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz 2.00 GHz
        OS type: 64-bit
        Version: 22H2
        Memory: 8 GB

        Operating System: Ubuntu 23.10
        Language: English (Regional Setting: English)
        Processor: Intel® Xeon® Silver 4210 × 8
        OS type: 64-bit
        Version: Linux 6.5.0-26-generic
        Memory: 8 GB


        Failed on Release/Build: JDK 23 Graal
        Is it a Regression in JDK 23 release: N/A
        [If Regression] Regression introduced in JDK 23 release/build: N/A
        Test result on the last GAed release for this train: N/A
        Is it a platform-specific issue: No. This issue happens on Windows, Linux and MacOS

        Steps to reproduce:

                Step 1. Open terminal and run command:

        C:/Users/user_std/Desktop/Reg/jtreg/bin/jtreg \
        -ignore:quiet \
        -ea \
        -esa \
        -m \
        -gui \
        -vmoption:-XX:+UnlockExperimentalVMOptions \
        -vmoption:-XX:+UseJVMCICompiler \
        -e:SWINGSET2_JAR=file:///C:/Users/user_std/Desktop/Reg/jdk-23_windows-x64_bin-tests/jdk/demos/jfc/SwingSet2/SwingSet2.jar \
        -nativepath:C:/Users/user_std/Desktop/Reg/jdk-23_windows-x64_bin-tests/jdk/jtreg/native \
        -exclude:C:/Users/user_std/Desktop/Reg/open/test/jdk/ProblemList.txt \
        -testjdk:C:/Users/user_std/Desktop/Reg/jdk-23 \
        -dir:C:/Users/user_std/Desktop/Reg/open/test/jdk \
        -reportDir:results/JTreport \
        -workDir:results/JTwork \
        -timeoutHandlerDir:C:/Users/user_std/Desktop/Reg/jdk-23_windows-x64_bin-tests/failure_handler/jtregFailureHandler.jar \
        -observerDir:C:/Users/user_std/Desktop/Reg/jdk-23_windows-x64_bin-tests/failure_handler/jtregFailureHandler.jar \
        -timeoutHandler:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler \
        -observer:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver \
        -timeoutHandlerTimeout:0 \
        C:/Users/user_std/Desktop/Reg/open/test/jdk/:jdk_desktop

                   Step 2. Run test case: javax/swing/JFrame/bug4419914.java
                   Step 3. Observe button's place
                   Step 4. Press TAB and observe that TAB focus moves from right to left (NORTH - START - CENTER - END - SOUTH )

        Expected behavior:
        The End and Start buttons should be placed correctly and Tab focus moves as expected
         
        Actual behavior:
        The End and Start buttons are not placed correctly and Tab focus does not move as expected

        Any non-default VM flags
        'C:\\Users\\user_std\\Desktop\\Reg\\jdk-23\\bin\\java' \\
                -Dtest.vm.opts='-ea -esa -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler' \\
                -Dtest.tool.vm.opts='-J-ea -J-esa -J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' \\
                -Dtest.compiler.opts= \\
                -Dtest.java.opts= \\
                -Dtest.jdk='C:\\Users\\user_std\\Desktop\\Reg\\jdk-23' \\
                -Dcompile.jdk='C:\\Users\\user_std\\Desktop\\Reg\\jdk-23' \\
                -Dtest.timeout.factor=1.0 \\
                -Dtest.nativepath='C:\\Users\\user_std\\Desktop\\Reg\\jdk-23_windows-x64_bin-tests\\jdk\\jtreg\\native' \\
                -Dtest.root='C:\\Users\\user_std\\Desktop\\Reg\\open\\test\\jdk' \\
                -Dtest.name=javax/swing/JFrame/bug4419914.java \\
                -Dtest.file='C:\\Users\\user_std\\Desktop\\Reg\\open\\test\\jdk\\javax\\swing\\JFrame\\bug4419914.java' \\
                -Dtest.src='C:\\Users\\user_std\\Desktop\\Reg\\open\\test\\jdk\\javax\\swing\\JFrame' \\
                -Dtest.src.path='C:\\Users\\user_std\\Desktop\\Reg\\open\\test\\jdk\\javax\\swing\\JFrame;C:\\Users\\user_std\\Desktop\\Reg\\open\\test\\jdk\\java\\awt\\regtesthelpers' \\
                -Dtest.classes='C:\\Users\\user_std\\Desktop\\Reg\\results\\JTwork\\classes\\javax\\swing\\JFrame\\bug4419914.d' \\
                -Dtest.class.path='C:\\Users\\user_std\\Desktop\\Reg\\results\\JTwork\\classes\\javax\\swing\\JFrame\\bug4419914.d;C:\\Users\\user_std\\Desktop\\Reg\\results\\JTwork\\classes\\java\\awt\\regtesthelpers' \\
                -Dtest.modules=java.desktop \\
                --add-modules java.desktop \\
                -ea \\
                -esa \\
                -XX:+UnlockExperimentalVMOptions \\
                -XX:+UseJVMCICompiler \\
                '-Djava.library.path=C:\\Users\\user_std\\Desktop\\Reg\\jdk-23_windows-x64_bin-tests\\jdk\\jtreg\\native' \\
                com.sun.javatest.regtest.agent.MainWrapper 'C:\\Users\\user_std\\Desktop\\Reg\\results\\JTwork\\javax\\swing\\JFrame\\bug4419914.d\\main.0.jta'
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failure Reason: The End and Start buttons are not placed correctly and Tab focus does not move as expected

              psadhukhan Prasanta Sadhukhan
              imttrieunq Trieu Quoc Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: