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

DynamicLauncher for JDP test needs to try harder to find a free port

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • core-svc
    • None

      test/jdk/sun/management/jdp/DynamicLauncher.java uses Utils.getFreePort() to find a free port for JMX. It limits itself to 3 attempts. This is not always enough, and the test fails.

      Some other tests may simply pick a port number, and increment it and keep trying even hundreds of times.

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: