You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/05/19 21:08:22 UTC
[jira] Closed: (SUREFIRE-740) Fractional part of method execution
time is truncated for non English locale
[ http://jira.codehaus.org/browse/SUREFIRE-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed SUREFIRE-740.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.8.2
Assignee: Kristian Rosenvold
Thanks for a good bug report !
Fixed with integration test in r1125058. I believe this affects most non-english european locales.
> Fractional part of method execution time is truncated for non English locale
> ----------------------------------------------------------------------------
>
> Key: SUREFIRE-740
> URL: http://jira.codehaus.org/browse/SUREFIRE-740
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Report Plugin
> Affects Versions: 2.8.1
> Environment: Windows 7 Pro x64 with Russian locale/JDK 1.6.0_21/Apache Maven 3.0.3 (r1075438; 2011-02-28 20:31:09+0300)
> Reporter: Dmitry Malenok
> Assignee: Kristian Rosenvold
> Fix For: 2.9
>
>
> The problem is that Maven Surefire Plugin and Maven Surefire Report Plugin use different locales for writing and reading TEST-* file if the default locale is not set to English locale.The first one always uses "Locale.ENGLISH" (org.apache.maven.surefire.report.AbstractReporter, line 43), but the second one uses the default locale (org.apache.maven.plugins.surefire.report.TestSuiteXmlParser, line 50). Russian and English locale use different decimal symbol ("," - Russian locale, '.' - English locale) that causes the described problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira