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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Duplicate
    • 11
    • None
    • core-svc

    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

        Issue Links

          Activity

            People

              kevinw Kevin Walls
              dtitov Daniil Titov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: