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

[macosx] The text of the TextArea is not wrapped at word boundaries

    XMLWordPrintable

Details

    • b68
    • x86
    • os_x

    Backports

      Description

        Testsuite name:Awt Regression
        Test name: closed/java/awt/TextArea/WordWrappingTest/WordWrappingTest.html
        Product tested:JDK 9b54(64bit)
        OS/architecture:mac10.10-x64

        Error log file:http://aurora.ru.oracle.com/slot-gw/748148.ManualSubmit-1/workDir/closed/java/awt/TextArea/WordWrappingTest/WordWrappingTest.jtr
           
        Reproducible: Always
        Reproducible on machine: Evergreen-machine
        [If Sometimes] Also reproducible on machine:

        Is it a Regression:NO
        [If Regression] Regression introduced in release/build:
        Test result on the last GAed release for this train:JDK8u45b19/Mac10.10-x64:Failed
          [if Fail] Test result on FCS: JDK8b132 no support on Mac10.10

        Is it a platform specific issue:Yes(The same build and the same options on win7-sp1-x64:Passed;
                                                         The same build and the same options on oel6.4-x64:Passed;
                                                         The same build and the same options on solaris10-x64:Passed;
                                                         The same build and the same options on solaris10-sparc:Passed;)

          [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:NO
          [If new configuration testing] Issue specific to execution mode or OS/browser version:

        Steps to reproduce:
        1.Download regression workspace from http://jre.us.oracle.com//java/re/jdk/9/promoted/ea/b54/ws/jdk/ to /var/root/workspace/regression
        2. Install test bundle JDK9b54 (download from http://jre.us.oracle.com//java/re/jdk/9/promoted/ea/b54/bundles/macosx-x64/jdk-9-ea-macosx-x64.dmg) to /Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/
        3.Install stable JDK8u25b17 (download from http://jre.us.oracle.com//java/re/jdk/8u25/promoted/fcs/b17/bundles/macosx-x64/jdk-8u25-macosx-x64.dmg) to =/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
        4.download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b09/bundles/jtreg_bin-4.1-fcs-bin-b09_28_mar_2014.zip locate at /var/root/workspace/regression
        5.Create the script regression.sh as follows and run it
        export JT_JAVA=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
        /var/root/workspace/regression/jtreg/linux/bin/jtreg -v -m -vmoptions:"-client -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel" -ignore:quiet -jdk:/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/ -r:/var/root/workspace/regression/results/reportDir -w:/var/root/workspace/regression/results/workDir /var/root/workspace/regression/ws/jdk/test/closed/java/awt/TextArea/WordWrappingTest/WordWrappingTest.html
           
        Case Instruction:
        Please look at the frame 'WordWrappingTest'.It contains two TextArea that have text 'This text should be wrapped.'.One of them has a vertical scrollbar only. Another has no
        scrollbars at all.If their text is not wrapped at word boundaries and you see mentioned text partly the test failed.
         
        Actual behavior:
        The text of the TextArea is not wrapped at word boundaries,refer to WordWrappingTest.jpg.

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                michaelw Michael Wang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: