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

java.util.Calendar not interoperable bet JDK 1.3.1 and 1.4

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      Please see the attached test case.

      java.util.Calendar is not interoperable between JDK 1.3.1_xx and 1.4.0. The class has evolved and is trying to rely on reading more data than it might have, getting an exception, and still assuming that the stream position is valid.

      This is possible in RMI-JRMP, but much more difficult in RMI-IIOP.

      Conversations with Simon Nash suggest that it may be possible by
      1) Detect hitting the valuetype end tag while data is being read
      2) Detect an attempt by readObject() to read additional data from values that were marshaled as non-custom

      but this doesn't appear to work with fragmentation. More analysis required.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: