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

Bad TypeCode from org.omg.CORBA.WStringValueHelper

XMLWordPrintable

    • hopper
    • generic
    • generic
    • Verified

      The type() method of WStringValueHelper returns a type representing tk_string rather than tk_wstring.

      This comes into play more when an Any and TypeCode is used to represent RMI-IIOP objects sent via Object, Serializable, or Externalizable params/ret values/types, as well as possibly used by the ValueHandler's FVD when queried for what's on the wire when a class has evolved.

      The danger to changing it is that there might be places in which the J2SE ORB uses it, thus breaking compatibility between different versions of the J2SE ORB. However, not changing it may prevent interoperability between Java ORBs, and almost certainly prevents interop between [RMI-IIOP and non-Java ORBs] or between Java IDL and other CORBA systems passing WStringValues in Anys.

      ********************************************************************************

      ###@###.### 2002-06-12

      Fix verified ok
      - with build: j2sdk-1_4_1-beta-bin-b14-solaris-sparc-04_jun_2002
      - with test: /net/kokuho/corba-sqe/hopper_bugs_verification/corba-dev-tests/test/src/share/classes/hopper/h4661596/WStringValueHelperTest.java

      ********************************************************************************

            eandersosunw Everett Anderson (Inactive)
            eandersosunw Everett Anderson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: