encoding/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 #4784. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7300108
Showing
Please
register
or
sign in
to comment