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

bad tag in jdk.random module-info.java

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      source
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      Only affects documentation.
    • Interface Kind:
      Java API
    • Scope:
      SE

      Description

      Summary

      Wrong tag used to identify used modules.

      Problem

      The 's' is missing from the @use tag. Also noted is that an internal module is specified.

      Solution

      Correct spelling of tag and remove internal reference.

      Specification

      diff --git a/src/jdk.random/share/classes/module-info.java b/src/jdk.random/share/classes/module-info.java
      index 1b2193ef557..3d82090f313 100644
      --- a/src/jdk.random/share/classes/module-info.java
      +++ b/src/jdk.random/share/classes/module-info.java
      @@ -40,8 +40,7 @@ import jdk.internal.util.random.RandomSupport;
        * @provides jdk.random.Xoroshiro128PlusPlus
        * @provides jdk.random.Xoshiro256PlusPlus
        *
      - * @use java.util.random.RandomGenerator
      - * @use jdk.internal.util.random.RandomSupport
      + * @uses java.util.random.RandomGenerator
        *
        * @moduleGraph
        * @since 16

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jlaskey Jim Laskey
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: