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

Incorrect javadoc in MatchKind

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
      None

      Backports

        Description

        In ./java.base/share/classes/java/util/stream/MatchOps.java

        enum MatchKind {
                /** Do all elements match the predicate? */
                ANY(true, true),

                /** Do any elements match the predicate? */
                ALL(false, false),
                ...
        }

        javadoc is flipped for ANY and ALL.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aeubanks Arthur Eubanks
                  Reporter:
                  aeubanks Arthur Eubanks
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: