
private static short key(final Object[] arguments) {
</BUG>
final short key;
<BUG>switch (arguments.length) {
</BUG>
case 1: key = Errors.Keys.UnexpectedEndOfString_1;    break;
case 2: key = Errors.Keys.UnparsableStringForClass_2; break;
case 3: key = Errors.Keys.UnparsableStringForClass_3; break;
default: throw new AssertionError();

if (erroneous.length() == 0) {
return new Object[] {type, text};
}
return new Object[] {type, text, erroneous};
}
@Workaround(library="JDK", version="1.8")
private static short key(final Object[] parameters) {
final short key;
switch (parameters.length) {
case 1: key = Errors.Keys.UnexpectedEndOfString_1;    break;
case 2: key = Errors.Keys.UnparsableStringForClass_2; break;
case 3: key = Errors.Keys.UnparsableStringForClass_3; break;
default: throw new AssertionError();
