Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Fastjson
Commits
2aaa195f
Commit
2aaa195f
authored
9 years ago
by
高铁
Browse files
Options
Download
Email Patches
Plain Diff
scanLongValue add error handler
parent
ce9694c2
android
1.1.157
1.1.71.android
1.1.68.android
1.1.67.android
1.1.66.android
1.1.65.android
1.1.64.android
1.1.63.android
1.1.62.android
1.1.61.android
1.1.60.android
1.1.59.android
1.1.58.android
1.1.57.android
1.1.56.android
1.1.55.android
1.1.54.android
1.1.53.android
1.1.52.android
1.1.51-android
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/alibaba/fastjson/parser/JSONLexer.java
+4
-8
src/main/java/com/alibaba/fastjson/parser/JSONLexer.java
with
4 additions
and
8 deletions
+4
-8
src/main/java/com/alibaba/fastjson/parser/JSONLexer.java
+
4
-
8
View file @
2aaa195f
...
...
@@ -1670,9 +1670,10 @@ public final class JSONLexer {
// next();
{
int
index
=
++
this
.
bp
;
this
.
ch
=
(
index
>=
this
.
len
?
//
EOI
//
:
text
.
charAt
(
index
));
if
(
index
>=
this
.
len
)
{
throw
new
JSONException
(
"syntax error, "
+
info
());
}
this
.
ch
=
text
.
charAt
(
index
);
}
}
else
{
negative
=
false
;
...
...
@@ -1711,11 +1712,6 @@ public final class JSONLexer {
longValue
=
-
longValue
;
}
if
(
ch
==
'L'
)
{
np
++;
next
();
}
return
longValue
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help