as400.getTimeZone()
Returns the time zone "GMT-08:00" when it should return "America/Los_Angeles" (the DST-adjusted equivalent).
The problem is a trailing space on the QTIMZON sysval, which doesn't get trimmed so the lookup fails.
SystemValue sv = new SystemValue(system, "QTIMZON");
String iTimeZone = (String)sv.getValue(); // "QN0800PST " (note trailing space)
String javaTimeZoneName = iTimeZoneToJavaTimeZone(iTimeZone); // null
Thanks, I will look at this.
The issue has been fixed in JTOpen 9.7