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);
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:
An easy fix would be introducing a `fun defaultValue(): CordaRPCClientConfiguration`, and to deprecate the existing one instead.
We would also benefit from running a check against a set of keywords in the API checker.
Yes, I've already raised
Unsquashed commit = I'm not backporting this, need to raise a new PR for release-V3
No need - this RPC API breakage was introduced after V3 and V3.1 and never made it onto release-V3, so this should be good. The PR on this ticket simply reverted the API compatibility breakage.