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

RMI-IIOP communication fails when ConcurrentHashMap is passed to remote method

    XMLWordPrintable

Details

    • b61
    • Verified

    Backports

      Description


        RMI-IIOP communication fails on JDK8 when ConcurrentHashMap instance is
        passed as parameter to remote method.
        The same test case works on JDK7 as it's expected.

        *** Quote from ERROR message on server side ***
        C:\jdk1.8.0_25\bin\java -Duser.language=en -Duser.country=us -Xms128m
        -Xmx128m -classpath .
        -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
        -Djava.naming.provider.url=iiop://localhost:1060 HelloServer
        Hello Server: Ready...
        Jan 09, 2015 8:05:12 PM com.sun.corba.se.impl.encoding.CDRInputStream_1_0
        read_value
        WARNING: "IOP00810210: (MARSHAL) Error from readValue on ValueHandler in
        CDRInputStream"
        org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 210 completed: Maybe
                at
        com.sun.corba.se.impl.logging.ORBUtilSystemException.valuehandlerReadError(ORB
        UtilSystemException.java:6976)
                at
        com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_
        0.java:1013)
                at
        com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:2
        71)
                at _HelloImpl_Tie._invoke(Unknown Source)
        <snip>
        ******************************************


        Attachments

          Issue Links

            Activity

              People

                msheppar Mark Sheppard
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: