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

Test "javax/swing/text/GlyphView/bug4188841.java" failed because the phrase of text pane does not match the instructions

XMLWordPrintable

    • b03
    • x86_64
    • generic

        OS:
        Linux
        Windows
        macOS

        Environments:
        Operating System: Ubuntu Linux 25.04 x64
        Language: English (Regional Setting: English)
        Processor: Intel® Xeon® Silver 4210 × 8
        Graphics: Software Rendering
        OS type: 64-bit
        GNOME version: 48
        Memory: 8GB
        LAF: manual-laf-Nimbus-Dark, manual-laf-Nimbus-Light


        Operating System: Windows 2025 x64
        Language: English (Regional Setting: English)
        Processor: 11th Gen Intel(R) Core (TM) i5-1135G7 @ 2.40GHz 2.42GHz (2 processors)
        OS type: 64-bit
        Memory: 4 GB
        LAF: manual-laf-Nimbus-Dark


        Operating System: macOS 15.5 x64
        Language: English (Regional Setting: English)
        Processor: 3 GHz 6-Core Intel Core i5
        OS type: 64-bit
        Memory: 8 GB
        LAF: manual-laf-Metal-Dark, manual-laf-Aqua-Dark



        Reproducible: Always

        Failed on Release/Build: JDK_25_b26
        Is it a Regression in JDK 25 release: N/A
        [If Regression] Regression introduced in JDK 25 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 also happens on Linux, Windows. macOS

        General description of the problem:
        Test "javax/swing/text/GlyphView/bug4188841.java" failed because the phrase of text pane does not match the instructions.

        Affected test:
        javax/swing/text/GlyphView/bug4188841.java

        Steps to reproduce:

             1. Run command:
        #!/bin/sh -x
        export JAVA_HOME=/home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25
        export JT_HOME=/home/ubuntu/Desktop/JDK_25_ATR_Client/jtreg
        export PATH=$PATH:$JAVA_HOME/bin:$JT_HOME/bin

        jtreg \
        -verbose:summary \
        -k:!printer \
        -m \
        -gui \
        -conc:1 \
        -vmoption:-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel \
        -nativepath:/home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25-ea+26_linux-x64_bin-tests/jdk/jtreg/native \
        -exclude:/home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk/ProblemList.txt \
        -exclude:/home/ubuntu/Desktop/JDK_25_ATR_Client/closed/test/jdk/ProblemList.txt \
        -testjdk:/home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25 \
        -dir:/home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk \
        -reportDir:No_138/results/JTreport \
        -workDir:No_138/results/JTwork \
        /home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk/:jdk_swing
         
            2. Run test case:javax/swing/text/GlyphView/bug4188841.java
            3. Observe the test case
             

        Expected behavior:
        The text pane contains the phrase " the quick brown fox jumps over the lazy dog"


        Actual behavior:
        The text pane displays the phrase " the slow brown fox jumps over the lazy dog!"

        Any non-default VM flags:
            /home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25/bin/java \\
                -Dtest.vm.opts=-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel \\
                -Dtest.tool.vm.opts=-J-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel \\
                -Dtest.compiler.opts= \\
                -Dtest.java.opts= \\
                -Dtest.jdk=/home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25 \\
                -Dcompile.jdk=/home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25 \\
                -Dtest.timeout.factor=1.0 \\
                -Dtest.nativepath=/home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25-ea+26_linux-x64_bin-tests/jdk/jtreg/native \\
                -Dtest.root=/home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk \\
                -Dtest.name=javax/swing/text/GlyphView/bug4188841.java \\
                -Dtest.verbose=Verbose[p=DEFAULT,f=DEFAULT,e=DEFAULT,t=false,m=false] \\
                -Dtest.file=/home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk/javax/swing/text/GlyphView/bug4188841.java \\
                -Dtest.main.class=bug4188841 \\
                -Dtest.src=/home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk/javax/swing/text/GlyphView \\
                -Dtest.src.path=/home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk/javax/swing/text/GlyphView:/home/ubuntu/Desktop/JDK_25_ATR_Client/open/test/jdk/java/awt/regtesthelpers \\
                -Dtest.classes=/home/ubuntu/Desktop/JDK_25_ATR_Client/No_90/results/JTwork/classes/javax/swing/text/GlyphView/bug4188841.d \\
                -Dtest.class.path=/home/ubuntu/Desktop/JDK_25_ATR_Client/No_90/results/JTwork/classes/javax/swing/text/GlyphView/bug4188841.d:/home/ubuntu/Desktop/JDK_25_ATR_Client/No_90/results/JTwork/classes/java/awt/regtesthelpers \\
                -Dtest.modules=java.desktop \\
                --add-modules java.desktop \\
                -Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel \\
                -Djava.library.path=/home/ubuntu/Desktop/JDK_25_ATR_Client/jdk-25-ea+26_linux-x64_bin-tests/jdk/jtreg/native \\
                com.sun.javatest.regtest.agent.MainWrapper /home/ubuntu/Desktop/JDK_25_ATR_Client/No_90/results/JTwork/javax/swing/text/GlyphView/bug4188841.d/main.0.jta
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failure Reason: the text pane display does not match the instructions.


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failure Reason: the text pane display does not match the instructions.

              landrews Lawrence Andrews
              imtsangvn Sang Ngoc Vien
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: