Enhance DJVM so that Kotlin reflection can identify a sandbox class's primary constructor.

Description

Corda's serialisation code relies on Kotlin reflection to identify a Kotlin class's primary constructor. The DJVM therefore needs to update the string information inside each @kotlin.Metadata annotation to align the method and field signatures with the ones produced by Java reflection.

The string information in stored here:

1 2 3 4 5 6 7 kotlin.Metadata { ... String[] d2; ... }

CVSS Vector

None

Status

Assignee

Chris Rankin

Reporter

Chris Rankin

Labels

None

CVSS Score

None

Feature Team

SGX

Target Version/s

None

Ported to...

None

Priority

Medium