public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug libgcj/15336] New: SimpleTimeZone.getOffset assumes same mode as rules @ 2004-05-07 5:09 jlquinn at gcc dot gnu dot org 2004-05-07 11:40 ` [Bug libgcj/15336] " pinskia at gcc dot gnu dot org 2004-05-21 6:17 ` jlquinn at gcc dot gnu dot org 0 siblings, 2 replies; 3+ messages in thread From: jlquinn at gcc dot gnu dot org @ 2004-05-07 5:09 UTC (permalink / raw) To: java-prs 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/15336] SimpleTimeZone.getOffset assumes same mode as rules 2004-05-07 5:09 [Bug libgcj/15336] New: SimpleTimeZone.getOffset assumes same mode as rules jlquinn at gcc dot gnu dot org @ 2004-05-07 11:40 ` pinskia at gcc dot gnu dot org 2004-05-21 6:17 ` jlquinn at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-05-07 11:40 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-07 11:40 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |8321 nThis| | Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-05-07 11:40:04 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15336 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/15336] SimpleTimeZone.getOffset assumes same mode as rules 2004-05-07 5:09 [Bug libgcj/15336] New: SimpleTimeZone.getOffset assumes same mode as rules jlquinn at gcc dot gnu dot org 2004-05-07 11:40 ` [Bug libgcj/15336] " pinskia at gcc dot gnu dot org @ 2004-05-21 6:17 ` jlquinn at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: jlquinn at gcc dot gnu dot org @ 2004-05-21 6:17 UTC (permalink / raw) To: java-prs ------- Additional Comments From jlquinn at gcc dot gnu dot org 2004-05-21 05:59 ------- Rereading the docs for SimpleTimeZone.getOffset makes it seem unclear just what this call should support in terms of the modes for rules. Apparently, Sun java requires that the day of week be correct for the day of month, which isn't consistent with the rule modes. Also, our documentation for the function describes it this way as well. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15336 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-21 5:59 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-05-07 5:09 [Bug libgcj/15336] New: SimpleTimeZone.getOffset assumes same mode as rules jlquinn at gcc dot gnu dot org 2004-05-07 11:40 ` [Bug libgcj/15336] " pinskia at gcc dot gnu dot org 2004-05-21 6:17 ` jlquinn at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).