On 18/07/2016 17:33, Peter Levart wrote:

Hi Paul,

Just curious, what was the purpose of hiding a public method in a public class in an exported package from reflection? I'm talking about sun.misc.Unsafe::getUnsafe ...

Regards, Peter
As I recall, it was an effort in JDK 6 (and prior to OpenJDK) to make it less tempting to use directly. It didn't work :-)

-Alan

Reply via email to