fix Avian classpath build

This commit is contained in:
Joel Dice
2013-02-22 11:55:01 -07:00
parent 201473cf87
commit 8546ca5670
15 changed files with 106 additions and 20 deletions

View File

@ -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;