JDK-8085880 : [macosx] Checking the "wrap line" checkbox can���t make lines to be wrapped.
  • Type: Bug
  • Component: client-libs
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-05-27
  • Updated: 2016-06-02
  • Resolved: 2016-06-02
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 9
9Resolved
Related Reports
Duplicate :  
Description
Testsuite name:JCK manual
Test name:api/javax_swing/interactive/JTextAreaTests.html#JTextArea
Product tested: JDK 9 b65(64bit)
OS/architecture:OS/architecture: Mac10.10-x64 (Processor:2.5GHz Intel Core i5;Memory:4 GB 1600 MHz DDR3)
 
Error log file:http://aurora-ds3.us.oracle.com:9502/runs/00912/912328.ManualSubmit/912328.ManualSubmit-1/workDir/api/javax_swing/interactive/JTextAreaTests_JTextArea.jtr

Reproducible: Always
Reproducible on machine: Evergreen-machine
[If Sometimes] Also reproducible on machine:

Is it a Regression: Yes 
[If Regression] Regression introduced in release/build:JDK9b65(64bit) Failed,but JDK9b64(64bit) on same platform Passed.
Test result on the last GAed release for this train:Pass(JDK8u45b34(64bit) on same platform with JCK9 workspace Passed)
[if Fail] Test result on FCS: 

Is it a platform specific issue:No
(windows,linux,solaris,solaris-spare doesn���t support AquaLAF)
 (same build on mac10.9-x64 without options Failed,
 same build on win7-p1-x64 without options Failed,
 same build on oel6.4-x64 without options Failed,
 same build on solaris11.2-x64 without options Failed,
 same build on solaris11-sparc without options Failed)
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. Install test bundle jdk9b65 from http://jre.us.oracle.com/java/re/jdk/9/promoted/all/b65/bundles/macosx-x86_64/jdk-9-ea-macosx-x86_64.dmg to /Library/Java/JavaVirtualMachines/ 
2. Download the JCK-runtime-9.jar from http://jre.us.oracle.com/java/re/jck/9/promoted/latest/bundles/ to /var/root/workspace/jck/ and use /Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/bin/java -jar JCK-runtime-9.jar to unzip it 
3.Run the following command:
/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/bin/java -showversion -client -Xcomp -Xbatch -d64 -Dswing.defaultlaf=com.apple.laf.AquaLookAndFeel -cp /private/var/root/workspace/jck/JCK-runtime-9/classes:/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home -Xfuture -Djava.security.policy=/private/var/root/workspace/jck/JCK-runtime-9/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JTextArea.JTextAreaTests -TestCaseID ALL 

Descriptions:
This test verifies the behavior of the setLineWrap() method.A JTextArea and a "Wrap lines" checkbox are shown below.Please verify that the checkbox is initially unchecked,and that lines do not wrap if they are too long to fit within the allocated width.Please verify that the line wrapping policy of the textarea is turned on/off when the checkbox is selected/de-selected.Does the textarea behave as specified above?"

Actual behavior:
1.When the case launching,the checkbox is unchecked,lines do not wrap if they are too long to fit within the allocated width.refer to TextArea.jpg.
2.Check the checkbox,a scrollbar will run left automatically and it always stays in a line,we can���t see the lines wrap.refer to TextArea1.jpg.
3.It isn���t the LAF issue.

Validation: 
JDK9b60(64bit) on same platform Passed.
JDK9b64(64bit) on same platform Passed.
Comments
This is the duplicate of the JDK-8078483
19-06-2015

There is the same issue with JDK9b66(32bit) on win8.1-x86. RULE api/javax_swing/interactive/JTextAreaTests_JTextArea any any.
03-06-2015

Add case name for aurora, RULE api/javax_swing/interactive/JTextAreaTests_JTextArea any any
27-05-2015