CordaRPCClientConfiguration.default not accessible in java as default is a reserved word

Description

Upgrade the cordapp example to the most recent version of corda

In exampleClientRpc.java line 35 change the line:

final CordaRPCClient client = new CordaRPCClient(nodeAddress, CordaRPCClientConfiguration.DEFAULT);

to

final CordaRPCClient client = new CordaRPCClient(nodeAddress, CordaRPCClientConfiguration.Companion.default());

And get a compilation error because default is a reserved word in java.

Change was made in this commit:

Assignee

Tommy Lillehagen

Reporter

Anthony Keenan

Labels

Priority

Medium

Fix versions

None

Ported to...

None

Feature Team

Operational Experience

CVSS Vector

None

Engineering Teams

None

Severity

Medium

Affects versions

Configure