JDK-6227647 : Incorrect DISPLAY property on Regression testsuite
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0u3
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_9
  • CPU: x86
  • Submitted: 2005-02-10
  • Updated: 2011-01-19
  • Resolved: 2005-02-14
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.
Other
5.0u3Resolved
Related Reports
Relates :  
Description
Test suite :Regression

Location : /net/urts071/export6/testSuites/Regression/workspace_150/test/java/awt/Toolkit/DefaultHeadlessTest
File name : DefaultHeadlessTest.sh
In the above file DISPLAY property set as export DISPLAY=`hostname`:0
B'caz of this regression test case 
java/awt/Toolkit/DefaultHeadlessTest/DefaultHeadlessTest.sh was failing with the error message saying that ' Unkwon identifier DISPLAY ' .
Execution failed: exit code 1 .

###@###.### 2005-2-10 07:23:25 GMT

Target : Tiger update(1.5.0_03_b03)
Tiger Workspace:/net/shiva.sfbay.sun.com/test/MyTestArea/JDK1.5.0/workspace_150


###@###.### 2005-2-10 11:53:08 GMT

Comments
EVALUATION I believe that this is because of previous bug concerning test #5045217. Seems that you only need to update a workspace to get newer version of this test. It should be version 1.4. (#5045217 was fixed in Mustang b08.) Now it's not reproductable. Asked submitter for more info. ###@###.### 2005-2-10 09:17:11 GMT I used tiger workspace since i am doing testing on Tiger update. /net/shiva.sfbay.sun.com/test/MyTestArea/JDK1.5.0/workspace_150 ###@###.### 2005-2-10 11:53:08 GMT Closing as not reproducible due to fix #5045217. I just tried the test version 1.3 (current is 1.4) and it fails with error: DefaultHeadlessTest.sh: DISPLAY=titan:0: is not an identifier result: Failed. Execution failed: exit code 1 ###@###.### 2005-2-14 08:37:21 GMT
10-02-2005

WORK AROUND Edit DefaultHeadlessTest.sh file. export DISPLAY=`hostname`:0.0 ###@###.### 2005-2-10 07:23:25 GMT
10-02-2005