Bug 49007 - CachedDateFormatTest fails on Apache Harmony
Summary: CachedDateFormatTest fails on Apache Harmony
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Layout (show other bugs)
Version: 1.2
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2010-03-27 06:08 UTC by Curt Arnold
Modified: 2010-03-27 06:11 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2010-03-27 06:08:26 UTC
CachedDateFormatTest fails on Apache Harmony due to a difference in the SimpleDateFormat handling of "S" or "SS" format specifications.  Apache Harmony appears to treat them as equivalent to "SSS".  The test now compares the results of CachedDateFormat with the output of SimpleDateFormat instead of hard-coded expected strings.
Comment 1 Curt Arnold 2010-03-27 06:11:05 UTC
Committed rev 928155.

p.s. Think it also applies to gcj.