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

UnicastRemoteObject.exportObject throws an exception if called more than once

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.6, 1.1.7
    • core-libs
    • sparc
    • generic, solaris_2.5.1

      java.rmi.server.UnicastRemoteObject.exportObject(Remote) method has a different
      behavior in JDK 1.1.6 than in previous JDKs. If method is called more than once
      JDK 1.1.6 triggers an exception, this was not happending before. The method is been called to get a reference to the actual Stub, there is not other way in the
      JDK API to get a reference to the Stub than calling this method (this method is
      first called in the UnicastRemoteObject constructor, making impossible to get
      a reference to the Stub).

            ldorninsunw Laird Dornin (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: