Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312649 - JSONUtil not handling Infinitity and NaN correctly for Numbers
Summary: JSONUtil not handling Infinitity and NaN correctly for Numbers
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: Simon Kaegi CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 11:34 EDT by Simon Kaegi CLA
Modified: 2010-05-12 13:28 EDT (History)
2 users (show)

See Also:
Michael_Rennie: review+


Attachments
proposed patch (1.89 KB, patch)
2010-05-12 12:43 EDT, Simon Kaegi CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Kaegi CLA 2010-05-12 11:34:19 EDT
According to the JSON spec both these values should be serialized as null.
Comment 1 Simon Kaegi CLA 2010-05-12 12:43:21 EDT
Created attachment 168195 [details]
proposed patch
Comment 2 Michael Rennie CLA 2010-05-12 13:22:11 EDT
+1 super-fantastic
Comment 3 Simon Kaegi CLA 2010-05-12 13:28:39 EDT
Fixed in HEAD