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

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Tue Dec 18 00:37:35 PST 2012


@@ -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
>



More information about the threeten-dev mailing list