mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 10:45:23 +08:00
added complete tests
This commit is contained in:
@@ -403,7 +403,7 @@ public class JSONTokener {
|
||||
int startIndex = this.index;
|
||||
int startCharacter = this.character;
|
||||
int startLine = this.line;
|
||||
this.reader.mark(Integer.MAX_VALUE);
|
||||
this.reader.mark(1000000);
|
||||
do {
|
||||
c = this.next();
|
||||
if (c == 0) {
|
||||
@@ -443,4 +443,4 @@ public class JSONTokener {
|
||||
return " at " + this.index + " [character " + this.character + " line " +
|
||||
this.line + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user