4 ms·
Did you read the article? The point is that they have done this in java 9 with http://openjdk.java.net/jeps/193 http://openjdk.java.net/jeps/193
by jontro 8y ago
Did you read the article? The point is that they have done this in java 9 with http://openjdk.java.net/jeps/193 http://openjdk.java.net/jeps/193
- sreque 8y agoI read it, thanks. That wasn't the point of the article at all. Also, Variable handles only represent a small part of what unsafe is used for.
- cogman10 8y agoRight, and they are just one example of unsafe apis moved into the public jdk. Oracle took a fairly measured approach here, they saw what was used and made public apis that are either clones of the private ones or that better capture common usage. That it took so long isn't great, but they are certainly going the right way.
- didibus 8y agoI think OP means, how in C#, you have the unsafe keyword, which restricts unsafe usage to particular unsafe code blocks, and allows any unsafe operation to be contained.
- _asummers 8y agoFrom the HN comment guidelines: > Please don't insinuate that someone hasn't read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that."