Join Slack
Powered by
Gson is specifically guilty to use `Unsafe.allocat...
# kontributors
o
orangy
10/26/2016, 7:10 PM
Gson is specifically guilty to use
Unsafe.allocateInstance
when it can’t call constructor for any reason. We can’t have any safety net for this, because it doesn’t call any
<init>
. It just creates an instance of a type, skips ctor and populate fields.
👍 1
4
Views
Open in Slack
Previous
Next