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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dtitov Daniil Titov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: