[Bug libgcj/15336] New: SimpleTimeZone.getOffset assumes same mode as rules

jlquinn at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 7 05:09:00 GMT 2004


The code currently assumes that the same mode is used on the call to getOffset
as was used to create the start or end rule being compared to.  This bug is a
placeholder as I'm planning to fix this as part of hacking SimpleTimeZone.

The fix I'm planning will convert rules and offset queries to absolute time so
they can be compared safely.

I think 8321 will be fixed by this as well.

-- 
           Summary: SimpleTimeZone.getOffset assumes same mode as rules
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: jlquinn at gcc dot gnu dot org
        ReportedBy: jlquinn at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15336



More information about the Gcc-bugs mailing list