We're updating the issue view to help you get more done. 

Serializer Evolution breaks with Java classes adding nullable properties

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

Status

Assignee

Katelyn Baker

Reporter

Katelyn Baker

Affected OS

None

Severity

Medium

Target Version/s

R3 Corda 3.0 GA
Corda 3.3

Feature Team

Corda Core

Fix versions

Affects versions

R3 Corda 3.0 GA RC06
Corda 3.1

Priority

Medium