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

Wrong link target in ModuleDescriptor#isAutomatic's API documentation

    XMLWordPrintable

Details

    Description

      The API documentation of method isAutomatic() in class ModuleDescriptor links to the wrong modifier constant.

      Line 1334 of ModuleDescriptor.java contains:

      `... {@link Modifier#OPEN AUTOMATIC} modifier.`

      It should read:

      `... {@link Modifier#AUTOMATIC AUTOMATIC} modifier.`

      to link to AUTOMATIC modifier.

      Here is a link to the line in question:
      https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java#L1334

      Attachments

        Issue Links

          Activity

            People

              cstein Christian Stein
              cstein Christian Stein
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 minute
                  1m
                  Remaining:
                  Remaining Estimate - 1 minute
                  1m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified