Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4368800

CORBA API changes for spec compliance in Typecode and Any

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • beta
    • sparc
    • solaris_7
    • Not verified

      There are a number of errors in the Typecode and Any APIs defined in
      org.omg.CORBA relative to the current IDL to Java mapping, OMG
      document ptc/00-01-08:

      1. The Typecode methods fixed_digits, fixed_scale, member_visibility,
         type_modified, and concrete_base_type should be abstract.

      2. TCKind.from_int should not throw BAD_PARAM.

      3. Principal should be an abstract class with abstract methods.

      4. Any is missing an extract_streamable method.

      5. Any.insert_object( object, Typecode ) should throw BAD_PARAM.

      6. The Any methods insert_streamable, extract_Principal, and insert_Principal
         should not be abstract.

      7. The Any methods extract_value and insert_value should be abstract.

      ********************************************************************************
      ###@###.### 2001-12-21

      Fix Verified OK

      With Build:
      j2sdk-1_4_0-rc-bin-b89-solsparc-06_dec_2001

      With Test:
      /java/idl/ws/rip/RIP_TEST_MASTER/tests/api/giop/pseudoObject/anys/AnyTest.java
      /java/idl/ws/rip/RIP_TEST_MASTER/tests/api/giop/pseudoObject/tckind/TCKindTest.java
      /java/idl/ws/rip/RIP_TEST_MASTER/tests/api/giop/pseudoObject/typecode/TypeCodeTest.java
      ********************************************************************************

            kcavanauorcl Ken Cavanaugh (Inactive)
            kcavanauorcl Ken Cavanaugh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: