diff options
author | Elliott Hughes <enh@google.com> | 2015-01-21 19:17:47 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-01-22 13:14:43 -0800 |
commit | 8e2f8aff8b2c9493ebffb8ad3825e58d02253471 (patch) | |
tree | 4889b9959ab5a6e4271fdd971af7235dd0f4ff3a /expectations/knownfailures.txt | |
parent | 1d5df1fbd8c786e0f936cb0175e4a3f288fc1890 (diff) | |
download | libcore-8e2f8aff8b2c9493ebffb8ad3825e58d02253471.zip libcore-8e2f8aff8b2c9493ebffb8ad3825e58d02253471.tar.gz libcore-8e2f8aff8b2c9493ebffb8ad3825e58d02253471.tar.bz2 |
Throw JSONException rather than NumberFormatException for an invalid escape.
Only our documentation claims that any of the JSON code throws
NumberFormatException, and throwing JSONException seems much more in keeping
with the rest of the API (and makes it easier for callers to handle errors).
Bug: https://code.google.com/p/android/issues/detail?id=103641
Change-Id: I4f4ebfd983f4ccb2a1f266a0bfa5732174df26f6
Diffstat (limited to 'expectations/knownfailures.txt')
0 files changed, 0 insertions, 0 deletions