DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32018>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32018

HttpCookieManager parses cookie expiration date incorrectly

           Summary: HttpCookieManager parses cookie expiration date
                    incorrectly
           Product: JMeter
           Version: 2.0.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Cookie expiration date is described as 'EEEE, dd-MM-yyyy HH:mm:ss zzz' as 
SimpleDateFormat. However if system's locale is different from EN/US, 
expiration dates cannot be parsed because DateFormat expects localized day of 
week and month name. HttpCookieManager throws ParseExceptions all the time.

Fix: use new SimpleDateFormat(..., Locale.US) as a possible solution.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to