IDL to Java Language Mapping Avatar
  1. OMG Specification

IDL to Java Language Mapping — Closed Issues

  • Acronym: I2JAV
  • Issues Count: 23
  • Description: Issues resolved by a task force and approved by Board
Closed All
Issues resolved by a task force and approved by Board

Issues Summary

Key Issue Reported Fixed Disposition Status
I2JAV11-56 Any"s and Exceptions I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-55 Any.insert_Object() I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-54 Chapter 9.8.1 Local stubs-bug I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-53 POA_Interface bug I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-52 Spec insufficient in section 5.2.1 - Reserved Names I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-51 No INV_NO_RESPONSE possible in Java DII I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-50 Reserved names I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-49 Problem with IDL --> Java mapping for Unions I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-48 IDL/Java language mapping, section 5.14, 6.11 I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-47 CORBA::DATA::CONVERSION exception for IDL types wchar/wstring I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-46 Current mapped incorrectly in Java language mapping I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-45 Clarify exact list of methods available on singleton orb I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-44 Clarify the use of return_value() before invoke() in DII I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-43 Fix any"s to have implement copy semantics I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-42 Make all basic Holders implement Streamable I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-41 _orb() is missing from ObjectImpl I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-40 input/output streams should extend java.io.streams I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-39 delegate field in ObjectImpl should be transient I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-38 create_list semantics not well defined I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-37 ImplementationDef should be an abstarct class I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-36 Add missing UnknownUserException I2JAV 1.0b1 I2JAV 1.0 Resolved closed
I2JAV11-35 Section 5.14 and 6.11 IDL/Java Language mapping I2JAV 1.0b1 I2JAV 1.0 Duplicate or Merged closed
I2JAV11-34 Problems with IDL unions mapped to Java I2JAV 1.0b1 I2JAV 1.0 Resolved closed

Issues Descriptions

Any"s and Exceptions

  • Key: I2JAV11-56
  • Legacy Issue Number: 1242
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: In Section 23.13, the signature for insert_Object() is given as,

    // throw excep when typecode inconsistent with value
    abstract public void insert_Object(
    org.omg.CORBA.Object o, org.omg.CORBA.TypeCode t)
    throws org.omg.CORBA.MARSHAL;

    Does this mean if an incorrect TypeCode is passed, eg. tk_short, that a
    MARSHAL Exception must be thrown or could a BAD_PARAM Exception
    be thrown.

    Also, I assume read_value() is meant to insert a complex IDL type into
    an Any ?
    If so, read_value() is supposed to throw a MARSHAL Exception if the
    typecode
    is inconsistent with the value. Does this mean that if a short has been
    written to the
    stream, but the stream is passed with a tk_sequence typecode, then an
    Exception
    should be thrown by read_value() ?.

  • Reported: I2JAV 1.0b1 — Mon, 27 Apr 1998 04:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Any.insert_Object()

  • Key: I2JAV11-55
  • Legacy Issue Number: 1167
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: In Section 23.13, the signature for insert_Object() is given as,

    // throw excep when typecode inconsistent with value
    abstract public void insert_Object(
    org.omg.CORBA.Object o, org.omg.CORBA.TypeCode t)
    throws org.omg.CORBA.MARSHAL;

    Does this mean if an incorrect TypeCode is passed, eg. tk_short, that a
    MARSHAL
    Exception must be thrown or could a BAD_PARAM Exception be thrown.

  • Reported: I2JAV 1.0b1 — Wed, 22 Apr 1998 04:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Chapter 9.8.1 Local stubs-bug

  • Key: I2JAV11-54
  • Legacy Issue Number: 1143
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Chapter 9.8.1
    Says "Local stubs are defined to be direct base classes of remote stubs"
    Does it matter? It is the opposite way as proposed in the drawing in
    chapter 6.4

    MORE FAR-FETCHED IDEA

    What if the Operations interface would not contain the inheritance
    relationship? Wouldn"t that be a step in the direction of being able
    to implement independent interfaces with one class. (To be
    functional this would need matching changes in the tie class)

  • Reported: I2JAV 1.0b1 — Thu, 16 Apr 1998 04:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

POA_Interface bug

  • Key: I2JAV11-53
  • Legacy Issue Number: 1142
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Chapter 5.2.4
    class POA_<interface_name> is supposed to implement
    <interface_name>Operations.

    However neither specification nor the example contain any
    operations method. The class also are not specified abstract.

  • Reported: I2JAV 1.0b1 — Thu, 16 Apr 1998 04:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Spec insufficient in section 5.2.1 - Reserved Names

  • Key: I2JAV11-52
  • Legacy Issue Number: 632
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Reserved words seen as IDL identifiers be prepended by an underscore. Insufficient for Holder, Helper, Package in case where two or three of these strings appear in single identifier

  • Reported: I2JAV 1.0b1 — Wed, 23 Jul 1997 04:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    Clarify the IDL Name conflict resolution rules to resolve this case. Also change the naming rules

  • Updated: Fri, 6 Mar 2015 20:58 GMT

No INV_NO_RESPONSE possible in Java DII

  • Key: I2JAV11-51
  • Legacy Issue Number: 1381
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: There is no Flags argument in the create_request operations
    as mapped from PIDL to Java. This means that there is no
    way to create a request with INV_NO_RESPONSE. Therefore,
    you cannot do oneway invocations in Java DII without the ORB
    having to consult the Interface Repository (clearly
    unnacceptable).

  • Reported: I2JAV 1.0b1 — Mon, 18 May 1998 04:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed/resolved

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Reserved names

  • Key: I2JAV11-50
  • Legacy Issue Number: 1090
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: The list of java keywords provided is an old one.
    > Should this be updated to the following list?
    > abstract boolean break
    > byte byvalue case cast catch char
    > class const continue default do double
    > else extends final finally float for
    > future generic goto if implements import
    > inner instanceof int interface long native
    > new null operator outer package private
    > protected public rest return short static
    > super switch synchronized this throw throws
    > transient try var void volatile while

  • Reported: I2JAV 1.0b1 — Fri, 20 Mar 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Problem with IDL --> Java mapping for Unions

  • Key: I2JAV11-49
  • Legacy Issue Number: 919
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: I have found what appears to be a short coming of the IDL to Java
    mapping for unions.
    Reading the CORBA V2.0 (July 1995) on pages 3-23 and 3-24 it indicates
    unions can have a value of the discriminator where there is not a case
    that matches the discriminator. The Trader Service specification has a
    great example of when this may be needed (in fact we are following this
    pattern in PIDS). The Java mapping for unions does not have a method or constructor for
    setting the discriminator when the discriminator does not correspond to
    at least one case label.

  • Reported: I2JAV 1.0b1 — Fri, 23 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

IDL/Java language mapping, section 5.14, 6.11

  • Key: I2JAV11-48
  • Legacy Issue Number: 909
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: In the class definition for Any there is only
    insert_Streamable(...), but no
    extract_Streamable(...). How do you extract
    streamables?

  • Reported: I2JAV 1.0b1 — Wed, 7 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

CORBA::DATA::CONVERSION exception for IDL types wchar/wstring

  • Key: I2JAV11-47
  • Legacy Issue Number: 908
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: This specification defines CORBA::DATA_CONVERSION exception for IDL
    types char/string, but does not define same exception for IDL types
    wchar/wstring. However, in the CORBA 2.1, IDL types wchar/wstring can
    handle any codeset beside Unicode (see section "10.7 Code Set Conversion"
    in CORBA 2.1) as well as IDL types char/string. Therefore, data
    conversion error may occur between IDL types wchar/wstring and Java
    types char/java.lang.String.

  • Reported: I2JAV 1.0b1 — Fri, 16 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Current mapped incorrectly in Java language mapping

  • Key: I2JAV11-46
  • Legacy Issue Number: 907
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:
    In 2.1 current became a regular IDL interface, so its mapping needs to
    change.
    Proposed Change:
    delete section 23.16.14 on current

  • Reported: I2JAV 1.0b1 — Thu, 15 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Clarify exact list of methods available on singleton orb

  • Key: I2JAV11-45
  • Legacy Issue Number: 899
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Clarify the use of return_value() before invoke() in DII

  • Key: I2JAV11-44
  • Legacy Issue Number: 898
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Clarify the use of return_value() before invoke() in DII.
    When using dii in Java (in portable stubs), it should be possible
    to call return_value() before invoke() in order to get the Any
    that will be associated with the return. It is then possible
    to insert a streamable, which when combined with fixing copy
    semantics for any"s, will enable a big performance improvement.

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Fix any"s to have implement copy semantics

  • Key: I2JAV11-43
  • Legacy Issue Number: 897
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Issue: Fix any"s to have implement copy semantics, similar to C++

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Make all basic Holders implement Streamable

  • Key: I2JAV11-42
  • Legacy Issue Number: 896
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    proposal approved, issue closed

  • Updated: Fri, 6 Mar 2015 20:58 GMT

_orb() is missing from ObjectImpl

  • Key: I2JAV11-41
  • Legacy Issue Number: 895
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue, resolved

  • Updated: Fri, 6 Mar 2015 20:58 GMT

input/output streams should extend java.io.streams

  • Key: I2JAV11-40
  • Legacy Issue Number: 894
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue, resolved

  • Updated: Fri, 6 Mar 2015 20:58 GMT

delegate field in ObjectImpl should be transient

  • Key: I2JAV11-39
  • Legacy Issue Number: 893
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT

create_list semantics not well defined

  • Key: I2JAV11-38
  • Legacy Issue Number: 892
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: create_list semantics are not well-defined in CORE and hence Java
    Language Mapping

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    resolved/closed

  • Updated: Fri, 6 Mar 2015 20:58 GMT

ImplementationDef should be an abstarct class

  • Key: I2JAV11-37
  • Legacy Issue Number: 891
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue, resolved

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Add missing UnknownUserException

  • Key: I2JAV11-36
  • Legacy Issue Number: 890
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary:

  • Reported: I2JAV 1.0b1 — Mon, 12 Jan 1998 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    closed issue, resolved

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Section 5.14 and 6.11 IDL/Java Language mapping

  • Key: I2JAV11-35
  • Legacy Issue Number: 888
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: In the class definition for Any there is only
    insert_Streamable(...), but no
    extract_Streamable(...). How do you extract
    streamables?

  • Reported: I2JAV 1.0b1 — Wed, 7 Jan 1998 05:00 GMT
  • Disposition: Duplicate or Merged — I2JAV 1.0
  • Disposition Summary:

    duplicate, issue closed

  • Updated: Fri, 6 Mar 2015 20:58 GMT

Problems with IDL unions mapped to Java

  • Key: I2JAV11-34
  • Legacy Issue Number: 799
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: I have found a problem with the Java to IDL mapping (97-03-01) in the area of Unions. The problem is that the Java-idl mapping does not provide any means by
    which the user can set the value of the union to be one of the non
    branch members of the enum such as B.

  • Reported: I2JAV 1.0b1 — Fri, 28 Nov 1997 05:00 GMT
  • Disposition: Resolved — I2JAV 1.0
  • Disposition Summary:

    resolved/closed

  • Updated: Fri, 6 Mar 2015 20:58 GMT