Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211952

Broken links in java.time API

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • Verification:
      Not verified

      Description

      A link check detected broken links in various files which can be traced back to these problem references in the java.time packages:

      $ grep -r '\.\./serialized-form.html' open/src/*/share/classes/java/time
      open/src/java.base/share/classes/java/time/ZonedDateTime.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/ZonedDateTime.java: * // the <a href="../../serialized-form.html#java.time.LocalDateTime">dateTime</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/ZonedDateTime.java: * // the <a href="../../serialized-form.html#java.time.ZoneOffset">offset</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/ZonedDateTime.java: * // the <a href="../../serialized-form.html#java.time.ZoneId">zone ID</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/ZoneRegion.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/OffsetTime.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/OffsetTime.java: * // the <a href="../../serialized-form.html#java.time.LocalTime">time</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/OffsetTime.java: * // the <a href="../../serialized-form.html#java.time.ZoneOffset">offset</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/MonthDay.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/Year.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/Instant.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/zone/ZoneOffsetTransitionRule.java: * <a href="../../../serialized-form.html#java.time.zone.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/zone/ZoneOffsetTransitionRule.java: * <a href="../../../serialized-form.html#java.time.zone.ZoneRules">ZoneRules.writeReplace</a>
      open/src/java.base/share/classes/java/time/zone/ZoneOffsetTransition.java: * <a href="../../../serialized-form.html#java.time.zone.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/zone/ZoneOffsetTransition.java: * <a href="../../../serialized-form.html#java.time.zone.ZoneRules">ZoneRules.writeReplace</a>
      open/src/java.base/share/classes/java/time/zone/Ser.java: * <li><a href="../../../serialized-form.html#java.time.zone.ZoneRules">ZoneRules.writeReplace</a>
      open/src/java.base/share/classes/java/time/zone/Ser.java: * <li><a href="../../../serialized-form.html#java.time.zone.ZoneOffsetTransition">ZoneOffsetTransition.writeReplace</a>
      open/src/java.base/share/classes/java/time/zone/Ser.java: * <li><a href="../../../serialized-form.html#java.time.zone.ZoneOffsetTransitionRule">ZoneOffsetTransitionRule.writeReplace</a>
      open/src/java.base/share/classes/java/time/zone/Ser.java: * <li><a href="../../../serialized-form.html#java.time.zone.ZoneRules">ZoneRules</a>
      open/src/java.base/share/classes/java/time/zone/Ser.java: * <li><a href="../../../serialized-form.html#java.time.zone.ZoneOffsetTransition">ZoneOffsetTransition</a>
      open/src/java.base/share/classes/java/time/zone/Ser.java: * <li><a href="../../../serialized-form.html#java.time.zone.ZoneOffsetTransitionRule">ZoneOffsetTransitionRule</a>
      open/src/java.base/share/classes/java/time/zone/ZoneRules.java: * <a href="../../../serialized-form.html#java.time.zone.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/ChronoLocalDateTimeImpl.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/IsoChronology.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/ThaiBuddhistDate.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/HijrahDate.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/AbstractChronology.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/ThaiBuddhistChronology.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/JapaneseDate.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/JapaneseChronology.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/HijrahChronology.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.HijrahChronology">HijrahChronology.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.IsoChronology">IsoChronology.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseChronology">JapaneseChronology.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.MinguoChronology">MinguoChronology.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ThaiBuddhistChronology">ThaiBuddhistChronology.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ChronoLocalDateTimeImpl">ChronoLocalDateTime.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ChronoZonedDateTimeImpl">ChronoZonedDateTime.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseDate">JapaneseDate.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseEra">JapaneseEra.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.HijrahDate">HijrahDate.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.MinguoDate">MinguoDate.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ThaiBuddhistDate">ThaiBuddhistDate.writeReplace</a>
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.HijrahChronology">HijrahChronology</a> - Chronology.of(id)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.IsoChronology">IsoChronology</a> - Chronology.of(id)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseChronology">JapaneseChronology</a> - Chronology.of(id)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.MinguoChronology">MinguoChronology</a> - Chronology.of(id)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ThaiBuddhistChronology">ThaiBuddhistChronology</a> - Chronology.of(id)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ChronoLocalDateTimeImpl">ChronoLocalDateTime</a> - date.atTime(time)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ChronoZonedDateTimeImpl">ChronoZonedDateTime</a> - dateTime.atZone(offset).withZoneSameLocal(zone)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseDate">JapaneseDate</a> - JapaneseChronology.INSTANCE.date(year, month, dayOfMonth)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.JapaneseEra">JapaneseEra</a> - JapaneseEra.of(eraValue)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.HijrahDate">HijrahDate</a> - HijrahChronology chrono.date(year, month, dayOfMonth)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.MinguoDate">MinguoDate</a> - MinguoChronology.INSTANCE.date(year, month, dayOfMonth)
      open/src/java.base/share/classes/java/time/chrono/Ser.java: * <li><a href="../../../serialized-form.html#java.time.chrono.ThaiBuddhistDate">ThaiBuddhistDate</a> - ThaiBuddhistChronology.INSTANCE.date(year, month, dayOfMonth)
      open/src/java.base/share/classes/java/time/chrono/ChronoZonedDateTimeImpl.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/MinguoDate.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/ChronoPeriodImpl.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/JapaneseEra.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/chrono/MinguoChronology.java: * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/Duration.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/ZoneId.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/LocalTime.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Duration">Duration.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Instant">Instant.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.LocalDate">LocalDate.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.LocalDateTime">LocalDateTime.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.LocalTime">LocalTime.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.MonthDay">MonthDay.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.OffsetTime">OffsetTime.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.OffsetDateTime">OffsetDateTime.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Period">Period.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Year">Year.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.YearMonth">YearMonth.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.ZoneId">ZoneId.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.ZoneOffset">ZoneOffset.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.ZonedDateTime">ZonedDateTime.writeReplace</a>
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Duration">Duration</a> - {@code Duration.ofSeconds(seconds, nanos);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Instant">Instant</a> - {@code Instant.ofEpochSecond(seconds, nanos);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.LocalDate">LocalDate</a> - {@code LocalDate.of(year, month, day);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.LocalDateTime">LocalDateTime</a> - {@code LocalDateTime.of(date, time);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.LocalTime">LocalTime</a> - {@code LocalTime.of(hour, minute, second, nano);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.MonthDay">MonthDay</a> - {@code MonthDay.of(month, day);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.OffsetTime">OffsetTime</a> - {@code OffsetTime.of(time, offset);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.OffsetDateTime">OffsetDateTime</a> - {@code OffsetDateTime.of(dateTime, offset);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Period">Period</a> - {@code Period.of(years, months, days);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.Year">Year</a> - {@code Year.of(year);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.YearMonth">YearMonth</a> - {@code YearMonth.of(year, month);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.ZonedDateTime">ZonedDateTime</a> - {@code ZonedDateTime.ofLenient(dateTime, offset, zone);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.ZoneId">ZoneId</a> - {@code ZoneId.of(id);}
      open/src/java.base/share/classes/java/time/Ser.java: * <li><a href="../../serialized-form.html#java.time.ZoneOffset">ZoneOffset</a> - {@code (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(offsetByte * 900));}
      open/src/java.base/share/classes/java/time/LocalDate.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/LocalDateTime.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/LocalDateTime.java: * // the <a href="../../serialized-form.html#java.time.LocalDate">date</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/LocalDateTime.java: * // the <a href="../../serialized-form.html#java.time.LocalTime">time</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/Period.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/ZoneOffset.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/YearMonth.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/OffsetDateTime.java: * <a href="../../serialized-form.html#java.time.Ser">dedicated serialized form</a>.
      open/src/java.base/share/classes/java/time/OffsetDateTime.java: * // the <a href="../../serialized-form.html#java.time.LocalDateTime">datetime</a> excluding the one byte header
      open/src/java.base/share/classes/java/time/OffsetDateTime.java: * // the <a href="../../serialized-form.html#java.time.ZoneOffset">offset</a> excluding the one byte header


      In all cases, there should either be an extra `../` component, or (preferably) the existing "../../" should be replaced by `{@docRoot}`

      These broken links are part of the noise preventing us from getting to a goal of no broken links.

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: