mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
fix Avian classpath build
This commit is contained in:
@ -127,6 +127,11 @@ public final class String
|
||||
} else {
|
||||
c = Utf8.decode((byte[])data, offset, length);
|
||||
if(c instanceof char[]) length = ((char[])c).length;
|
||||
if (c == null) {
|
||||
throw new RuntimeException
|
||||
("unable to parse \"" + new String(data, offset, length, false)
|
||||
+ "\"");
|
||||
}
|
||||
}
|
||||
|
||||
this.data = c;
|
||||
|
Reference in New Issue
Block a user