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

Search results omit some methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • 19
    • tools
    • None

      Please visit the JDK 19 javadoc (https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/nio/channels/FileChannel.html) and note the two `map` methods in the class (one permanent, one preview). Can you find these `map` methods via the search box?

      `FileChannel` -- shows classes and ctors, not methods, OK, let's keep typing.
      `FileChannel.` -- adds the list of members, showing methods called `lock`, `open`, etc -- but neither of the `map` methods is shown :-(
      `FileChannel.map` -- shows only the `MapMode` class :-( Note that typing `FileChannel.lock` shows the `lock` methods.
      `FileChannel.map(` -- finally shows the two `map` methods.

      The preview `map` method is shown on the PREVIEW tab, but its existence alongside a permanent `map` method seems to be breaking search.

            hannesw Hannes Wallnoefer
            abuckley Alex Buckley
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: