Change to posix.cc to set gnu.java.util.zoneinfo.dir

Tom Tromey tromey@redhat.com
Wed Mar 7 21:30:00 GMT 2007


>>>>> "Albert" == Albert Chin <gcc-java@mlists.thewrittenword.com> writes:

Albert> +  if (! zoneinfodir)
Albert> +    zoneinfodir = "/usr/share/zoneinfo";

Albert> What if the directory isn't /usr/share/zoneinfo? On AIX and Solaris,
Albert> it's /usr/share/lib/zoneinfo. Shouldn't the default be correct for the
Albert> system GCJ is targeted for?

Yeah, that would be preferable.  We could either have configure check
(which is not super friendly when making a cross-compiler) or we could
just have a list of places to look.  Care to submit a patch?

Tom



More information about the Java mailing list