Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15077

ProtoStream marshaller throws StackOverflowError if an object references itself

    XMLWordPrintable

Details

    Description

      WF's ProtoStream marshaller will throw a StackOverflowError when marshalling objects containing circular references, such as:

      class Person {
         Person parent;
         List<Person> children;
      }
      

      This needs to be supported in order to be able to marshal something like org.jboss.weld.contexts.CreationalContextImpl.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: