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

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

XMLWordPrintable

        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:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: