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

It doesn't cause an error that an oneway operation contains an output parameter.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • other-libs
    • x86
    • windows_nt



      Name: clC74495 Date: 09/01/99


      The IDL-Compiler does not output an error, when an operation with the oneway attribute contains an output parameter.

      According to CORBA2.2, an operation with the oneway attribute must not contain any output parameters and must specify a void return types.
      (Refer to CORBA 2.2 Update Sheet 3.11 Attirbute Declaration)

      But in the following IDL definition, the IDL-Compiler normally finishes.The following is the IDL definition.

      <<IDL definition>>
       
      module m{
      interface a{
      oneway void Ope(out long b);
      };
      };
      (Review ID: 94702)
      ======================================================================

            Unassigned Unassigned
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: