Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5156

Fix PackageDescr serialization

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • None
    • None
    • None

    Description

      Step to reproduce:

      1. create a PackageDescrBuilder builder
      2. declare types with
        builder.newDeclare().type()...
      3. create a PackageDescr descr with
        builder.getDescr()
      4. invoke
        descr.writeExternal(ObjectOutput)

      The following exception is thrown

      java.io.NotSerializableException: org.drools.compiler.lang.descr.QualifiedName

      because inside PackageDescr there is a

      TypeDeclarationDescr

      (that is serializable) that in turn contains

      QualifiedName

      (that is not)

      Attachments

        Activity

          People

            gcardosi Gabriele Cardosi (Inactive)
            gcardosi Gabriele Cardosi (Inactive)
            Mario Fusco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: