JDK-8011230 : [TEST_BUG] java/awt/Toolkit/BadDisplayTest/BadDisplayTest.java failed on solaris
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: generic
  • Submitted: 2013-04-02
  • Updated: 2013-09-02
  • Resolved: 2013-04-22
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
8 b89Fixed
Description
test java/awt/Toolkit/BadDisplayTest/BadDisplayTest.java failed on solaris with following output:
----------System.out:(0/0)----------
----------System.err:(1/133)----------
/export/local/aurora/CommonData/j2se_java_gui/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh: DISPLAY=: is not an identifier
result: Failed. Execution failed: exit code 1


test result: Failed. Execution failed: exit code 1

test passed on linux 
Comments
PASSED on Windows, Linux, Mac, Solaris. Closed as Verified.
02-08-2013

Issue happens only on Solaris 10 and earlier because of old BASH. export DISPLAY= should be replaced by DISPLAY= export DISPLAY
22-04-2013

http://cr.openjdk.java.net/~kshefov/8011230/webrev.00/
22-04-2013

downgraded to P4 as a test bug
03-04-2013