Uploaded image for project: 'JBoss Marshalling'
  1. JBoss Marshalling
  2. JBMAR-161

Do not write full class descriptor for fields

    XMLWordPrintable

Details

    Description

      Writing the full class descriptor for field types causes unmarshal operations to fail when the field type class is not present. Also, it causes potentially useless and wasteful extra wire data and class table bloat, especially if the field was null or the object in the field is of a different type than the field. Writing ID_OBJECT_CLASS for all reference-typed fields solves both of these problems.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: