Ivonhoe / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Wrong Exception message in case of Double.NaN serialization #498

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Try to serialize any of special double values {NaN, +Inf, -Inf} using only 
default Gson constructor.

Exception is thrown but it specifies that method serializeSpecialDoubleValues 
sholud be used. This method (no longer?) exist inside GsonBuilder, exception 
should inform user about serializeSpecialFloatingPointValues() method

gson 2.2.2
Ubuntu 10.4

Original issue reported on code.google.com by Erwi...@gmail.com on 26 Jan 2013 at 1:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1227.

Original comment by limpbizkit on 4 Feb 2013 at 4:05