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

idlj does not create the correct type information in the helper for exception ty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • beta
    • generic
    • generic
    • Verified

      Given an idl exception type

      exception my_exception {string reason;};

      idlj does not create the correct helper method for the type information. It creates a method that returns a struct type code.

      If this wrong type method is used to insert the user type into an Any, for example, then the Anys type is set to struct. Using this Any to return a user exception to the client causes an exception in the server in the call to request.except().

      stefan.bauer@Eng 2000-07-06

            sbauersunw Stefan Bauer (Inactive)
            sbauersunw Stefan Bauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: