JDK-7142234 : [macosx] closed/java/util/TimeZone/CheckTzdataVersion.sh fails on Mac OS X
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 7u4
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-02-02
  • Updated: 2012-03-19
  • Resolved: 2012-03-19
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 7
7u4 b13Fixed
Description
closed/java/util/TimeZone/CheckTzdataVersion.sh is failing on Mac OS X because of 
an extra non-printable character being extracted by the strings command.
Masayoshi Okutsu:

I believe it's a bug of the strings command which is supposed to check only printable characters. If isprint(c) is true, iscntrl(c) has to be false in the POSIX standard. (Same for their wchar_t version.)

Comments
EVALUATION We need to make sure that we extract the BUILD_TZ_VERSION correctly.
02-02-2012