Instantiate Contract classes using Class.newInstance() for sake of DJVM sandbox.

Description

This function has been deprecated as of Java 9:

The recommended alternative is

but the DJVM (which only implements Java 8) rejects this because it does not permit user code to access Contructor objects within the sandbox.

Assignee

Chris Rankin

Reporter

Chris Rankin

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

None

Ported to...

Corda 4.3

Sprint

None

Labels

Story Points / Dev Days

None

Feature Team

Kernel Group

Severity

Medium
Configure