Descriptionencoding/json: roll back Unmarshal optimization + test
The second attempt at the Unmarshal optimization allowed
panics to get out of the json package. Add test for that bug
and remove the optimization.
Let's stop trying to optimize Unmarshal.
Fixes issue 4784.
Patch Set 1 #Patch Set 2 : diff -r 31065f4dbca5 https://code.google.com/p/go/ #Patch Set 3 : diff -r 476df039c1b7 https://code.google.com/p/go/ #
MessagesTotal messages: 3
|