[threeten-dev] RFR get properties from lib/calendars.properties

Roger Riggs Roger.Riggs at oracle.com
Wed Jan 23 06:24:46 PST 2013


Hi,

Thanks, this provides the function needed for Hijrah calendar properties.

In the rare case that there is an error in calendars.properties, will 
the RuntimeException
provide enough information to diagnose the problem?   Is this a case where
the error should be logged to the PlatformLogger?
Perhaps the throw of the RuntimeException could include a message
"Configuration error in calendars.properties".

In some other cases, I have seen an InternalError thrown  (Currency.java).

Thanks, Roger



On 1/23/2013 3:30 AM, Masayoshi Okutsu wrote:
> Per Roger's request, I've created a static method for getting a 
> Properties from <java.home>/lib/calendars.properties. The plan is to 
> put Hijrah calendar properties in the properties file.
>
> http://cr.openjdk.java.net/~okutsu/310/calendarprops/webrev.00/
>
> Thanks,
> Masayoshi
>



More information about the threeten-dev mailing list