jps fails if both IP address and port number are used in the host identifier

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 11
    • Component/s: core-svc

      datitov-mac:src datitov$ ~/Java/jdk10/jdk/bin/jps 129.213.80.169:1099
      Malformed Host Identifier: 129.213.80.169:1099
      usage: jps [-help]
             jps [-q] [-mlvV] [<hostid>]

      Definitions:
          <hostid>: <hostname>[:<port>]


      Using the host name instead of the IP address works fine.
      datitov-mac:src datitov$ ~/Java/jdk10/jdk/bin/jps 129.213.80.169:1099
      26831 Jstatd

      If the port number is not specified the IP address works fine as well.
      datitov-mac:src datitov$ ~/Java/jdk10/jdk/bin/jps 129.213.80.169
      26831 Jstatd

            Assignee:
            Kevin Walls
            Reporter:
            Daniil Titov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: