Bug 49007

Summary: CachedDateFormatTest fails on Apache Harmony
Product: Log4j - Now in Jira Reporter: Curt Arnold <carnold>
Component: LayoutAssignee: log4j-dev <log4j-dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

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.