<< Back to previous view

[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
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes

Tags: jdk
Participants: keilw

 Description   

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.



 Comments   
Comment by keilw [ 05/Feb/13 07:53 PM ]

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 Thu Apr 24 12:13:58 UTC 2014 using JIRA 4.0.2#472.