United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7127874 Add handling of MacOSX env variables to ProcessBuilder regression test
JDK-7127874 : Add handling of MacOSX env variables to ProcessBuilder regression test

Details
Type:
Bug
Submit Date:
2012-01-06
Status:
Closed
Updated Date:
2012-09-24
Project Name:
JDK
Resolved Date:
2012-03-28
Component:
core-libs
OS:
os_x
Sub-Component:
java.lang
CPU:
x86,unknown
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4 (b11)

Related Reports
Duplicate:

Sub Tasks

Description
Mac OS X adds environment variables __CF_USER_TEXT_ENCODING and JAVA_MAIN_CLASS_<pid>. The tests in jdk/test/java/lang/ProcessBuilder/Basic.java do not handle these variables and fail. Add handling.

                                    

Comments
EVALUATION

Fixed by stripping __CF_USER_TEXT_ENCODING and JAVA_MAIN_CLASS_<pid> variables from the list of environment variables returned on Mac OS X.

Changeset: d0a56328cb69
Author:    juh
Date:      2012-01-18 16:15 +0000
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jdk/rev/d0a56328cb69

7127874: Add handling of MacOSX env variables to ProcessBuilder regression test
Reviewed-by: michaelm
                                     
2012-01-20



Hardware and Software, Engineered to Work Together