It's an invalid document but we're crashing the wrong way. The problem has to
do with how we handle the nonexecute prefix. We might have a more severe
problem hiding here, particularly for source readers that feed data one
character at a time.
public void testStringEndingInSlash() throws IOException {
JsonReader reader = new JsonReader(new StringReader("/"));
reader.setLenient(true);
assertEquals(JsonToken.END_DOCUMENT, reader.peek());
}
Original issue reported on code.google.com by limpbizkit on 11 Feb 2012 at 7:51
Original issue reported on code.google.com by
limpbizkit
on 11 Feb 2012 at 7:51