JAV2I 1.2 NO IDEA Avatar
  1. OMG Issue

JAV2I12 — export/unexport errors not well specified

  • Key: JAV2I12-85
  • Legacy Issue Number: 2480
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: The text describing PortableRemoteObject does not describe the
    possible error cases very completely or precisely. 1. Change the paragraph:

    It is an error to call exportObject more than once for the same object.

    to the paragraph:

    It is an error to call exportObject on an object that is already
    exported.

    2. Change the sentence in the description of toStub:

    The argument object must either be a subclass of PortableRemoteObject
    or have been previously the target of a call on
    PortableRemoteObject.exportObject.

    to the sentences:

    The argument object must currently be exported, either because it is
    a subclass of PortableRemoteObject or by virtue of a previous call
    to PortableRemoteObject.exportObject. If the object is not currently
    exported, a NoSuchObjectException is thrown.

    3. Change the sentence:

    The unexportObject method is used a deregister a server object from
    the ORB runtimes, allowing the object to become available for
    garbage collection.

    to the sentences:

    The unexportObject method is used a deregister a currently exported
    server object from the ORB runtimes, allowing the object to become
    available for garbage collection. If the object is not currently
    exported, a NoSuchObjectException is thrown.

  • Reported: JAV2I 1.0 — Mon, 22 Feb 1999 05:00 GMT
  • Disposition: Resolved — JAV2I 1.1
  • Disposition Summary:

    Closed, accepted

  • Updated: Fri, 6 Mar 2015 21:36 GMT