mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复JSONUtil.parse()溢出问题
This commit is contained in:
@@ -7,7 +7,7 @@ public class Issue3289Test {
|
||||
@Test
|
||||
void parseTest() {
|
||||
Assertions.assertThrows(JSONException.class, () -> {
|
||||
final String s = "{\"G\":00,[,,[0E5,6E9,6E5,6E9,6E5,6E9,6E5,6E9,6E9,6E5,true,6E5,6E9,6E5,6E9,6956,EE,5E9,6E5,RE,6E9,6E9,6E5,6E9,6E5,6E9,6E5,6E9,6E5,6E962756779,4141697],]}";
|
||||
String s = "{\"G\":00,[6E962756779]}";
|
||||
JSONUtil.parse(s);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user