We're updating the issue view to help you get more done. 

Java example in "Upgrading cordapps" documentation contains incorrect Java

Description

In docs/source/upgrading-cordapps.rst, the ObligationSchemaV1.java class incorrectly maps Kotlin's ByteArray type.

1 2 @Column(name = "lender") @Lob private final Byte[] lender; @Column(name = "borrower") @Lob private final Byte[] borrower;

and

1 2 3 4 5 6 7 public ByteArray getLender() { return lender; } public ByteArray getBorrower() { return borrower; }

The actual Java equivalent of ByteArray is byte[].

This problem exists for both declarations of ObligationSchemaV1.java.

Status

Assignee

Tudor Malene

Reporter

Chris Rankin

Labels

None

Affected OS

None

Severity

Medium

Target Version/s

R3 Corda 3.0 GA
Corda 3.3

Feature Team

Corda Core

Fix versions

Priority

Low