Re:Removal of Unsafe in Java 9 – A disaster in the making
by MrBuddyCasino on Monday July 13, 2015 @06:23PM
(#9881562)
Whats wrong with:
- deprecate in Java 9
- "make it explicit to turn on" in 10, offer alternative official APIs as fallback
- remove entirely when most people have switched
Re:Removal of Unsafe in Java 9 – A disaster in the making
by kasey_junk on Tuesday July 14, 2015 @03:12PM
(#9887314)
Nothing at all. That's what I assume will happen at the end of the day. But people saying that we can just turn it off in 9 because you shouldn't be using internal api's don't seem to get that there is no external solution.
What Oracle is close to "hey all you performance sensitive folks, we aren't going to support unsafe anymore, can you tell us what you are using it for and how we can migrate to that explicitly?"
It just so happens that one of the leading proposals is "leave in java 9 but make it explicit to turn on". This is probably the right way to do this (in my opinion) but it does have the downside of making neither camp happy (it leaves unsafe so the purists are mad, and it causes headaches for people using unsafe).