commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MATH-82) [math] FractionFormatTest doesn't compile under JDK 1.3
Date Mon, 05 Mar 2007 19:46:50 GMT

    [ https://issues.apache.org/jira/browse/MATH-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478135
] 

Luc Maisonobe commented on MATH-82:
-----------------------------------

The FractionFormatTest patch has been applied almost one year ago.
The problem with ComplexUtilsTest seems OS-specific and not related to commons-math.
Could we close this bug ?

> [math]  FractionFormatTest doesn't compile under JDK 1.3
> --------------------------------------------------------
>
>                 Key: MATH-82
>                 URL: https://issues.apache.org/jira/browse/MATH-82
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: Operating System: All
> Platform: All
>            Reporter: Niall Pemberton
>            Priority: Minor
>         Attachments: math_FractionFormatTest_JDK13.patch, TEST-org.apache.commons.math.complex.ComplexUtilsTest.txt
>
>
> FractionFormatTest uses NumberFormat.getIntegerInstance() which is a JDK 1.4 
> method. Changing this to use getInstance() instead and then using 
> setParseIntegerOnly(true) allows it to compile under JDK 1.3 - and the test 
> runs and passes.
> Its probably a moot point though since ComplexUtilsTest fails using JDK 
> 1.3.1_04 (on both W2K and Windows XP).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message