JDK-8169041 : com/sun/corba/cachedSocket should be added to exclusiveAccess.dirs
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-11-02
  • Updated: 2017-01-19
  • Resolved: 2016-11-11
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 9
9 b145Fixed
Related Reports
Relates :  
Description
com/sun/corba is not in exclusiveAccess.dirs, and there's test start orbd service. If test run concurrently with other tests that start&use "orbd" service, "address in use" are likely to happen. 

To demonstrate this issue, run below tests with -conc:2
-agentvm -conc:2 \
ws/jdk/test/com/sun/corba/cachedSocket/7056731.sh \
ws/jdk/test/javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java

ConcurrentHashMapTest (is likely to) fail with:
SEVERE: "IOP00410216: (COMM_FAILURE) Unable to create listener thread on the specified port: 1049"
...
Caused by: java.net.BindException: Address already in use

com/sun/corba (or at least com/sun/corba/cachedSocket) should be added into exclusiveAccess.dirs
Comments
RFR: http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-November/044615.html
10-11-2016