Gson is specifically guilty to use `Unsafe.allocat...
# kontributors
o
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