JDK-4786133 : JCK1.4a-runtime api/java_awt/interactive/TextAreaTests.html#TextAreaTests fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux,solaris_8,windows_2000
  • CPU: x86,sparc,itanium
  • Submitted: 2002-11-28
  • Updated: 2010-12-29
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Name: iaR10016			Date: 11/28/2002


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.4.2-b08, JDK1.4.0, JDK1.4.1
JCK            : JCK1.4a-runtime
Platform[s]    : RedHat Linux 7.3, Windows 2000, Solaris x86, Solaris Sparc
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
        api/java_awt/interactive/TextAreaTests.html#TextAreaTests [TextAreaTest0002, TextAreaTest0001, TextAreaTest0003]

JCK1.4a-runtime api/java_awt/interactive/TextAreaTests.html#TextAreaTests test fails with JDK1.4.0, JDK1.4.1, JDK1.4.2.
TextArea.setColumns(int) and TextArea.setRows(int) methods do not work as expected when row or columns count is big enough.

For example, please run api/java_awt/interactive/TextAreaTests.html#TextAreaTests test on RedHat Linux (GNOME) with
JDK1.4.2-b08. Please set tested TextArea columns number to 2147483647 (max integer number). If scrollbar policy is
"SCROLLBAR_NONE" the TextArea disappears. If scrollbar policy is "SCROLLBAR_VERTICAL_ONLY" then the TextArea disappears
and only vertical scrollbar is visible. TextArea remains visible if scrollbar policy is "SCROLLBAR_NONE" and columns count
is 99917822. If columns number is 99917823 the TextArea becomes invisible.

Test source location:
=====================
/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/TextAreaTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/jck14a/x86/sol8_x86_server_linux-10/workDir/api-interactive/java_awt/interactive/TextAreaTests_TextAreaTests.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a"
JDK="/net/jdk/export/disk8/local.java/jdk1.4/linux-i386"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java javasoft.sqe.tests.api.java.awt.interactive.TextAreaTests
--- script end ---

Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86)

Hostname: linux-19
OS: RedHat Linux 7.3

Hostname: linux-2
OS: Windows 98

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
17-09-2004

EVALUATION Commit to fix in Tiger (JCK test, but not marked as red for Mantis). ###@###.### 2002-12-04 Looks like a layout manager bug, most likely caused by an overflow during calculations. Should try fixing this in Dolpin. ###@###.### 2005-06-24 14:32:54 GMT
04-12-2002