-
Key: JAV2I14-10
-
Legacy Issue Number: 10336
-
Status: closed
-
Source: Borland ( Naveed Shaikh)
-
Summary:
Java to IDL Language Mapping Specification doesn't cover the mapping for Java enum from JDK 1.5. We propose the following mapping to be included in the specification. Mapping for Enumeration: When used as a parameter, return type or member variable, Java enum in JDK 1.5 is mapped to the OMG IDL type ::javax::rmi::CORBA::EnumDesc. The corresponding representation in Java class is: package javax.rmi.CORBA; public class EnumDesc implements java.io.Serializable
{ // Holds the value of enum public String value; // Name of enum class public String className; static final long serialVersionUID = ...; }The mapping in IDL will be: module javax { module rmi { module CORBA { valuetype EnumDesc
{ public ::CORBA::WStringValue value; #pragma ID value "RMI:EnumDesc/value:xxxxx" public ::CORBA::WStringValue className; #pragma ID className "RMI:EnumDesc/className:xxxxx" }; #pragma ID EnumDesc "RMI:EnumDesc:aaaaaa:xxxxxxxxx" }; }; };
-
Reported: JAV2I 1.3 — Tue, 5 Sep 2006 04:00 GMT
-
Disposition: Resolved — JAV2I 1.4
-
Disposition Summary:
No Data Available
-
Updated: Fri, 6 Mar 2015 20:58 GMT