JDK-7180362 : RFE: Implement date cutover functionality for currency.properties file
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-06-28
  • Updated: 2017-05-17
  • Resolved: 2012-09-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b58Fixed
Related Reports
Relates :  
Description
From jdk 7 onwards, new functionality was introduced which allows currency data to be overridden by the jre/lib/currency.data properties file (text file)

http://docs.oracle.com/javase/7/docs/api/java/util/Currency.html

This file doesn't allow for cutover dates to be specified. A simple timestamp (of UTC/GMT format) should be parsed on same line as currency data and, if present, the currency data is used over shipping JRE data if the current UTC time is post the specified timestamp.

Any exceptions in parsing the timestamp should mean that the entry is ignored and an error message is output to logger.

Comments
EVALUATION introduce a new UTC style cutover date which can be parsed in currency.properties
13-08-2012