-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b01
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018493 | 7u45 | Dmeetry Degrave | P4 | Closed | Fixed | b01 |
JDK-8013725 | 7u40 | Dmeetry Degrave | P4 | Closed | Fixed | b23 |
JDK-8017411 | 6u65 | Dmeetry Degrave | P4 | Closed | Fixed | b01 |
JDK-8013463 | 6u60 | Dmeetry Degrave | P4 | Closed | Fixed | b01 |
IDL-to-java code generator generates read/write union helper methods that throw org.omg.CORBA.BAD_OPERATION in cases when boolean discriminator's value isn't matched. This is wrong.
According to section "7.11.2.2 Discriminated Unions" [1]:
It is not required that all possible values of the union discriminator be
listed in the <switch_body>. The value of a union is the value of the
discriminator together with one of the following:
• If the discriminator value was explicitly listed in a case statement, the
value of the element associated with that case statement;
• If a default case label was specified, the value of the element associated
with the default case label;
• No additional value.
[1] http://www.omg.org/spec/CORBA/3.2/Interfaces/PDF/
According to section "7.11.2.2 Discriminated Unions" [1]:
It is not required that all possible values of the union discriminator be
listed in the <switch_body>. The value of a union is the value of the
discriminator together with one of the following:
• If the discriminator value was explicitly listed in a case statement, the
value of the element associated with that case statement;
• If a default case label was specified, the value of the element associated
with the default case label;
• No additional value.
[1] http://www.omg.org/spec/CORBA/3.2/Interfaces/PDF/
- backported by
-
JDK-8013463 [corba] idlj generates read/write union helper methods that throw wrong exception in some cases
- Closed
-
JDK-8013725 [corba] idlj generates read/write union helper methods that throw wrong exception in some cases
- Closed
-
JDK-8017411 [corba] idlj generates read/write union helper methods that throw wrong exception in some cases
- Closed
-
JDK-8018493 [corba] idlj generates read/write union helper methods that throw wrong exception in some cases
- Closed