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

Priority

Medium

Severity

Medium

Fix versions

Ported to...

None

Feature Team

Corda Core

Affects versions

R3 Corda 3.0 GA RC06
Corda 3.1