Using Unsafe.putXXX one can put primitive type into an array or object field.
Unsafe.putXXX
But code like the following generate errors.