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

Stream duplication can cause INTERNAL

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      merlin
    • CPU:
      generic
    • OS:
      generic

      Description

      Creating EncapsInputStream and EncapsOutputStream was good, but there are some
      problems in stream duplication (dup()) in AnyImpl and TypeCodeImpl.

      The code set test for bug 4324936 (attached to that bug report) fails with
      Merlin build b53.

      The duplication calls wind up setting AnyImpl's stream variable to a CDRInputStream rather than an IIOPInputStream or EncapsInputStream.

      org.omg.CORBA.INTERNAL: Should not use CDRInputStream directly vmcid: 0x0
      minor code: 0 completed: No
              at

      com.sun.corba.se.internal.iiop.CDRInputStream.createWCharBTCConverter(CDRInputSt
      ream.java:492)
              at

      com.sun.corba.se.internal.iiop.CDRInputStream_1_0.getWCharConverter(CDRInputStre
      am_1_0.java:2030)
              at

      com.sun.corba.se.internal.iiop.CDRInputStream_1_2.read_wstring(CDRInputStream_1_
      2.java:66)
              at

      com.sun.corba.se.internal.iiop.CDRInputStream.read_wstring(CDRInputStream.java:2
      01)
              at
      com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2239)
              at
      com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2295)
              at
      com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:574)
              at

      com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0
      .java:532)
              at

      com.sun.corba.se.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:23
      9)
              at event._LoggerStub.process_event(_LoggerStub.java:19)
              at Client.main(Client.java:42)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: