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

com/sun/corba/cachedSocket should be added to exclusiveAccess.dirs

XMLWordPrintable

    • b145

      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

            amlu Amy Lu (Inactive)
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: