JDK-8078149 : [macosx] The text of the TextArea is not wrapped at word boundaries
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u85,8u40,8u60,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-03-20
  • Updated: 2015-09-29
  • Resolved: 2015-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9 b68Fixed
Related Reports
Relates :  
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.
Comments
RULE closed/java/awt/TextArea/WordWrappingTest/WordWrappingTest any any
05-05-2015

The same fix as on unix should be implemented. see JDK-4992455
03-05-2015

RULE closed/java/awt/TextArea/WordWrappingTest/WordWrappingTest any any
20-03-2015