JDK-7142596 : TEST_BUG: many RMI tests fail because of port conflicts
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 8,8-pool
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-02-03
  • Updated: 2013-12-17
  • Resolved: 2012-07-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u21Fixed 8 b49Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
RMI tests start the rmiregistry on the default port.  When multiple tests are run in parallel, the rmiregistry fails to start as the port is already in use.  This causes the test to fail.

Comments
Verified with Nightly results, issue is fixed
20-08-2013

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/b6f78869c66d
14-08-2012

EVALUATION Need to changes tests so they don't used fixed ports.
17-07-2012

PUBLIC COMMENTS Modified tests to use random port numbers instead of fixed port numbers.
17-07-2012