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

exportObject() with invalid socketType causes infinite loop...

XMLWordPrintable

    • 1.2beta3
    • generic
    • generic
    • Verified

      The JCK1.2 tests for UnicastRemoteObject.exportObject(obj,port, socketType) where
      obj and port are valid parameters but socketType was created as follows:-
            SocketType socketType=new SocketType("junk", data, null) where "junk" is
               an invalid protocol.

      results in an infinite loop creating the serversocket again and again..

      The source for the test is question can be found in JCK1.2 under
             tests/api/java_rmi/server/UnicastRemoteObject/ExpObjTests.java (test0004).

            awollratsunw Ann Wollrath (Inactive)
            vramansunw Vella Raman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: