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

It doesn't cause an error that an oneway operation specifies a void return type.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • 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 specifies a void return type.

      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 short Ope();
      };
      };
      (Review ID: 94704)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: