-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.2.0
-
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)
======================================================================
- duplicates
-
JDK-4267780 It doesn't cause an error that an oneway operation contains an output parameter.
-
- Closed
-