jshell shows duplicated signatures of javap

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 21
    • Component/s: tools
    • None
    • 21
    • b14

      With TOOLING loaded, typing `javap(` followed by TAB yields:

      Actual:
      ```
      >jshell TOOLING
      | Welcome to JShell -- Version 21
      | For an introduction type: /help intro
      jshell> javap(
      Signatures:
      void javap(Class<?> type) throws Exception
      void javap(String...)
      void javap(Class<?> type) throws Exception
      void javap(String...)
      ```

      Expected:
      ```
      >jshell TOOLING
      | Welcome to JShell -- Version 21
      | For an introduction type: /help intro
      jshell> javap(
      Signatures:
      void javap(Class<?> type) throws Exception
      void javap(String...)
      ```

      Signatures of other methods defined in the TOOLING script are, as expected, only shown once.

            Assignee:
            Jan Lahoda
            Reporter:
            Christian Stein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: