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

improve rmi tests by replacing TestLibrary.createRegistryOnUnusedPort, getUnusedRandomPort

XMLWordPrintable

    • b150

        there are rmi tests using TestLibrary.createRegistryOnUnusedPort, getUnusedRandomPort, registry created by these 2 methods could cause "port in use" exception intermittently. For some of the tests, these 2 methods can and should be replaced with createRegistryOnEphemeralPort and getRegistryPort.
        Although not all the modified tests failed, it will help improve rmi test quality by replacing these methods.

              mli Hamlin Li
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: