9

I cam across the sun.misc.Unsafe package the other day and was amazed at what it could do. Its existence left me with a few questions.

Is there ever a good reason to use the Unsafe package? Perhaps a more specific question would be, what scenario could arise that you would need it. If you do need it, does that not spell out that something is probably wrong with your design? Why is it even included?

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
user489041
  • 27,916
  • 55
  • 135
  • 204

0 Answers0