commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Commented: (CLI-40) [cli] DateValidatorTest & FileValidatorTest problems
Date Wed, 07 Jun 2006 17:21:31 GMT
    [ ] 

Henri Yandell commented on CLI-40:

Have applied the idea of creating a new instance. Newbieish as it sounds to blame the JDK,
this definitely looks like a bug in SimpleDateFormat. Happens in both 1.4.2 and 1.5.0 on my

svn ci -m "Modifying the test so it creates a new format object rather than reusing the static
one. For s
ome reason it gives the wrong response and it's hard to see why given that it works for other
methods and JUnit is single threaded. This is discussed in CLI
Sending        src/test/org/apache/commons/cli2/validation/
Transmitting file data .
Committed revision 412456.

> [cli] DateValidatorTest & FileValidatorTest problems
> ----------------------------------------------------
>          Key: CLI-40
>          URL:
>      Project: Commons CLI
>         Type: Bug

>  Environment: Operating System: other
> Platform: Other
>     Reporter: Jarek Gawor
>  Attachments: patch3
> The DateValidatorTest always fails with validation errors. It looks like the 
> test itself might be invalid but since I don't know the history of the code I 
> don't know which one is right.
> The FileValidatorTest tests might sometimes fail if executed for the very first 
> time on Windows. There is a missing .waitFor() call to ensure the process 
> finishes before the test is executed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message