[threeten-dev] hg: threeten/threeten/jdk: Updated the j.u.Formatter to use the updated package/class names

Roger Riggs Roger.Riggs at oracle.com
Tue Dec 18 06:36:14 PST 2012


Thanks Sherman and Masayoshi for fixing the build.

The threeten workspace is easy and fairly quick to build from the 
command line
using the new build system.

% # from the top of the forest
% configure
% make -f NewMakefile.gmk

But knowing what to fix (and where to fix it) seems to require some
skill/knowledge that takes time to acquire.

Thanks, Roger

On 12/18/2012 3:51 AM, Xueming Shen wrote:
> Updated. That's replace-regex, not me:-)
>
> Thanks!
> -Sherman
>
> On 12/18/2012 12:37 AM, Masayoshi Okutsu wrote:
>> @@ -270,7 +270,7 @@ import sun.util.locale.provider.TimeZone
>>   *
>>   * <li> <b>Date/Time</b> - may be applied to Java types which are 
>> capable of
>>   * encoding a date or time: {@code long}, {@link Long}, {@link 
>> Calendar},
>> - * {@link Date} and {@link javax.time.calendrical.DateTimeAccessor 
>> DateTimeAccessor}
>> + * {@link Date} and {@link javax.time.calendrical.TemporalAccessor 
>> TemporalAccessor}
>>   *
>>   * <li> <b>Percent</b> - produces a literal {@code '%'}
>>   * (<tt>'&#92;u0025'</tt>)
>> @@ -1504,7 +1504,7 @@ import sun.util.locale.provider.TimeZone
>>   *
>>   * <p> This conversion may be applied to {@code long}, {@link Long}, 
>> {@link
>>   * Calendar}, {@link Date} and
>> - * {@link javax.time.calendrical.DateTimeAccessor DateTimeAccessor}
>> + * {@link javax.time.calendrical.TemporalAccessor TemporalAccessor}
>>   *
>>   * <table cellpadding=5 summary="DTConv">
>>   *
>>
>> javax.time.calendrical.TemporalAccessor
>>  -> javax.time.temporal.TemporalAccessor
>>
>> I made the same mistake for my own fix. :-)
>>
>> Other doc related files require refactoring as well. I've fixed only 
>> make/docs/CORE_PKGS.gmk.
>>
>> diff --git a/make/docs/CORE_PKGS.gmk b/make/docs/CORE_PKGS.gmk
>> --- a/make/docs/CORE_PKGS.gmk
>> +++ b/make/docs/CORE_PKGS.gmk
>> @@ -218,10 +218,9 @@
>>    javax.swing.plaf.nimbus                        \
>>    javax.swing.plaf.synth                         \
>>    javax.time                                     \
>> -  javax.time.calendrical                         \
>> -  javax.time.chrono                              \
>> -  javax.time.chrono.global                       \
>> +  javax.time.calendar                            \
>>    javax.time.format                              \
>> +  javax.time.temporal                            \
>>    javax.time.zone                                \
>>    javax.tools                                    \
>>    javax.tools.annotation                         \
>>
>> My repo is synced with the TL repo and probably I can't push my 
>> changes...
>>
>> Masayoshi
>>
>> On 12/18/2012 5:00 PM, xueming.shen at oracle.com wrote:
>>> Changeset: f2d602792e0b
>>> Author:    sherman
>>> Date:      2012-12-18 00:04 -0800
>>> URL:       
>>> http://hg.openjdk.java.net/threeten/threeten/jdk/rev/f2d602792e0b
>>>
>>> Updated the j.u.Formatter to use the updated package/class names
>>>
>>> ! src/share/classes/java/util/Formatter.java
>>>
>>

-- 
Thanks, Roger

Oracle Java Platform Group

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment



More information about the threeten-dev mailing list