Uploaded image for project: 'Corda'
  1. CORDA-1662

Serializer Evolution breaks with Java classes adding nullable properties

    Details

      Description

      Since all Java properties are nullable (aside from primitives) this should've just worked. However, the manner in which nullability is being determined by the code was using reflection only true on Kotlin objects as there is nothing that forces Java classes to annotate parameters and properties as @Nullable.

      Fix is to check whether it's a Java or Kotlin class then apply the nullability logic

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Katelyn.Baker Katelyn Baker
                Reporter:
                Katelyn.Baker Katelyn Baker
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: