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

Fix PackageDescr serialization

XMLWordPrintable

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

      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)

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

                Created:
                Updated:
                Resolved: