--- old/src/solaris/native/java/util/TimeZone_md.c Thu May 10 10:55:41 2012 +++ new/src/solaris/native/java/util/TimeZone_md.c Thu May 10 10:55:39 2012 @@ -651,7 +651,7 @@ } #ifdef __solaris__ - if (strcmp(tz, "localtime") == 0) { + if (tz != NULL && strcmp(tz, "localtime") == 0) { tz = getSolarisDefaultZoneID(); freetz = tz; }