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

End case behavior of org.omg.CORBA.portable.Streamable is not defined.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.3.0
    • other-libs
    • None
    • generic
    • generic


      The _read(InputStream istream) method reads data from istream and initializes
      the value field of the Holder with the unmarshalled data. What should happen
      when there is no data to unmarshall?

      We have a small test case that uses
        org.omg.cosNaming.list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
      in a situation in which either bi.value==null or bi.value.next_one(bh)==false
      (where bh is a BindingHolder instance).

      Using idltojava and tnameserv, bi.value!=null. There are third party ORBs for which
      bi.value==null. The correct behavior needs to be written down somewhere so that
      Java can interoperate with third party ORBs.

      allan.jacobs@Eng 1999-08-02

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: