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.

Status

Assignee

Chris Rankin

Reporter

Chris Rankin

Labels

Priority

Medium

Fix versions

Ported to...

Corda 4.3

Feature Team

Kernel Group

CVSS Vector

None

Severity

Medium
Configure