Details

    • Type: Sub-task
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 17
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      There are currently 18 doclint warnings emitted when building API Documentation for java/text. They are as follows:

      ../open/src/java.base/share/classes/java/text/ChoiceFormat.java:533: warning: no @param for in
          private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
                       ^
      ./open/src/java.base/share/classes/java/text/ChoiceFormat.java:533: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
                       ^
      ./open/src/java.base/share/classes/java/text/DateFormatSymbols.java:901: warning: no @param for stream
          private void writeObject(ObjectOutputStream stream) throws IOException {
                       ^
      ./open/src/java.base/share/classes/java/text/DateFormatSymbols.java:901: warning: no @throws for java.io.IOException
          private void writeObject(ObjectOutputStream stream) throws IOException {
                       ^
      ./open/src/java.base/share/classes/java/text/DecimalFormat.java:3895: warning: no @param for stream
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/DecimalFormat.java:3895: warning: no @throws for java.io.IOException
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/DecimalFormat.java:3895: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/DecimalFormatSymbols.java:924: warning: no @param for stream
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/DecimalFormatSymbols.java:924: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/MessageFormat.java:1608: warning: no @param for in
          private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
                       ^
      ./open/src/java.base/share/classes/java/text/MessageFormat.java:1608: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
                       ^
      ./open/src/java.base/share/classes/java/text/NumberFormat.java:1017: warning: no @param for stream
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/NumberFormat.java:1017: warning: no @throws for java.io.IOException
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/NumberFormat.java:1017: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/NumberFormat.java:1046: warning: no @param for stream
          private void writeObject(ObjectOutputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/NumberFormat.java:1046: warning: no @throws for java.io.IOException
          private void writeObject(ObjectOutputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/SimpleDateFormat.java:2479: warning: no @param for stream
          private void readObject(ObjectInputStream stream)
                       ^
      ./open/src/java.base/share/classes/java/text/SimpleDateFormat.java:2479: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(ObjectInputStream stream)
                       ^

      Fix can be verified by building API Documentaion without the -quiet flag enabled and running a grep over the results

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ccleary Conor Cleary (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: