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

bad tag in jdk.random module-info.java

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P4
    • 17-pool, 18
    • core-libs
    • None
    • source
    • minimal
    • Only affects documentation.
    • Java API
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: