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

Typo in snippet for the Classfile API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 22
    • 21
    • core-libs

      In the snippet file `PackageSnippets` the line

      ```
      .flatMap(ce -> ce instanceof MethodMethod mm ? mm.elementStream() : Stream.empty())
      ```

      should be replaced with

      ```
      .flatMap(ce -> ce instanceof MethodModel mm ? mm.elementStream() : Stream.empty())
      ```

            asotona Adam Sotona
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: