-
Key: I2JAV11-129
-
Legacy Issue Number: 3801
-
Status: closed
-
Source: Oracle ( Max Mortazavi)
-
Summary:
It appears that there's an error in the OMG specification ptc/00-01-08
OMG IDL to Java Language Mapping. In the mapping for ORB as given in the
org.omg.CORBA.ORB in section 1.19.10, the IDL signaturePolicy create_policy(
in PolicyType type,
in any val
) raises (PolicyError);has been mapped to
public Policy create_policy(short policy_type, Any val)
throws org.omg.CORBA.PolicyErrorHowever, note that in formal/99-10-07, as in elsewhere, it's clearly
stated that PolicyType is unsigned long4.9.1 Definition of Policy Object
typedef unsigned long PolicyType;
{ readonly attribute PolicyType policy_type; Policy copy(); void destroy(); }
// Basic IDL definition
interface Policy;
and that the Java mapping for unsigned long is an "int" not a
"short," as erroneously implied in 1.19.10 of ptc/00-01-08.I believe this is an error in the ptc/00-01-08 OMG IDL to Java Language
Mapping that needs to be cleared. -
Reported: I2JAV 1.0 — Tue, 29 Aug 2000 04:00 GMT
-
Disposition: Resolved — I2JAV 1.1
-
Disposition Summary:
closed issue, editorial change
-
Updated: Fri, 6 Mar 2015 21:38 GMT
I2JAV11 — policy_type should map to a Java int.
- Key: I2JAV11-129
- OMG Task Force: IDL to Java December 2000 RTF