Gabriele Cardosi created DROOLS-5156:
----------------------------------------
Summary: Fix PackageDescr serialization
Key: DROOLS-5156
URL:
https://issues.redhat.com/browse/DROOLS-5156
Project: Drools
Issue Type: Task
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
Step to reproduce:
# create a PackageDescrBuilder builder
# declare types with `builder.newDeclare().type()....`
# create a PackageDescr descr with `builder.getDescr()`
# 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)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)