Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
Mac OS X
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018665 | 7u45 | Brent Christian | P3 | Closed | Fixed | b01 |
JDK-8011417 | 7u40 | Brent Christian | P3 | Closed | Fixed | b22 |
Description
The tools/launcher/I18NJarTest.java test now fails on Mac when the LANG & LC_ALL env vars are set to 'C'. (Most Macs I've used default to LANG=en_US.UTF-8 and LC_ALL unset).
The error stack trace is:
----------System.err:(13/687)----------
java.lang.RuntimeException: TEST FAILED
at I18NJarTest.main(I18NJarTest.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:477)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
More than likely, this was introduced by 8003228.
The error stack trace is:
----------System.err:(13/687)----------
java.lang.RuntimeException: TEST FAILED
at I18NJarTest.main(I18NJarTest.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:477)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
More than likely, this was introduced by 8003228.
Attachments
Issue Links
- backported by
-
JDK-8011417 test/tools/launcher/I18NJarTest.java fails on Mac w/ LANG=C, LC_ALL=C
- Closed
-
JDK-8018665 test/tools/launcher/I18NJarTest.java fails on Mac w/ LANG=C, LC_ALL=C
- Closed
- relates to
-
JDK-8008761 test/tools/launcher/I18NJarTest.java should automatically setup its environment
- Open
-
JDK-8003228 (props) sun.jnu.encoding should be set to UTF-8 [macosx]
- Closed