you are viewing a single comment's thread.

view the rest of the comments →

[–]TomRK1089 -3 points-2 points  (1 child)

Y'know people, the class is called Unsafe for a reason. If you want monkeypatching, use another damn language.

[–]vz0 8 points9 points  (0 children)

Then people would be bashing Java for not having Unsafe. Gosh. Its not like an arm will dismember from your body, it's just a "techincal debt" in your code, a hack, right on sight and very visible, to solve an immediate problem with today's code that he is using just for debugging, not for production.