-
Bug
-
Resolution: Fixed
-
P2
-
8u40
-
b03
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8072624 | 9 | Hannes Wallnoefer | P4 | Resolved | Fixed | b50 |
JDK-8085593 | emb-9 | Hannes Wallnoefer | P2 | Resolved | Fixed | team |
JDK-8087027 | 8u65 | Hannes Wallnoefer | P2 | Resolved | Fixed | b01 |
JDK-8138521 | emb-8u65 | Unassigned | P2 | Resolved | Fixed | b01 |
JDK-8076941 | emb-8u60 | Hannes Wallnoefer | P2 | Resolved | Fixed | team |
openjdk version "1.8.0_40-internal"
OpenJDK Runtime Environment (build 1.8.0_40-internal-b09)
OpenJDK 64-Bit Server VM (build 25.40-b13, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
JSON.parse drops numeric properties in certain cases, apparently when they are not in increasing order.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jjs
jjs> JSON.stringify(JSON.parse('{"5": true, "3": "a"}'))
{"3":"a"}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
$ jjs
jjs> JSON.stringify(JSON.parse('{"5": true, "3": "a"}'))
{"3":"a", "5": true}
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8076941 Nashorn JSON.parse drops numeric keys
-
- Resolved
-
-
JDK-8085593 Nashorn JSON.parse drops numeric keys
-
- Resolved
-
-
JDK-8087027 Nashorn JSON.parse drops numeric keys
-
- Resolved
-
-
JDK-8138521 Nashorn JSON.parse drops numeric keys
-
- Resolved
-
-
JDK-8072624 Nashorn JSON.parse drops numeric keys
-
- Resolved
-
- duplicates
-
JDK-8079623 An AssertionError is raised when parsing JSON
-
- Closed
-
-
JDK-8080093 JSON Parse - leads to java.lang.ArrayIndexOutOfBoundsException
-
- Closed
-
-
JDK-8080096 Parsing a JSON object with numeric keys fails
-
- Closed
-
- relates to
-
JDK-8074687 Add tests for JSON parsing of numeric keys
-
- Resolved
-