[JAVAMONEY-10] Keep JDK Stub up to date Created: 20/Jan/13  Updated: 10/Nov/13  Due: 09/Apr/13  Resolved: 08/Apr/13

Status: Closed
Project: javamoney
Component/s: Impl: RI
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: keilw Assignee: keilw
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes

Tags: jdk


After updates to CurrencyUnit, the jdk-stub module no longer compiled.
Please while it isn't part of the "portable RI", let's always ensure, it's up do date with the spec given this will become the de facto RI for either SE 9, CLDC 8/9 or both.

Comment by keilw [ 05/Feb/13 ]

Fixed the Stub again, a change of the getValid* methods in CurrencyUnit forced it, after code was broken there.
This module should probably also be included in a CI Job to ensure consistency.

If returning <code>null</code> is a mandatory requirement for these timestamps, leaving them as Long object instead of a simple long primitive type might be acceptable, but I see a possible overhead or risk of people using AutoBoxing in real life when they gather such primitive values from System.currentTimeMillis(), System.nanoTime() or similar.
Ultimately that will be up to advise by Oracle Architects, if a complex type is feasible, especially if this affects java.util.Currency, too.

Generated at Sun Sep 25 15:50:01 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.