Re: Accessing internals in Java 11

2018-03-27 Thread Russell Gold
That would be true if it was easy to find the Javadoc for the class. I think the problem may be that tooling for MR jars is still all-but-nonexistent, and that classes like Unsafe aren’t accessible when using the latest JDK with the —release switch. That, plus the much faster release schedule,

Re: Accessing internals in Java 11

2018-03-25 Thread Alan Bateman
On 25/03/2018 08:32, Nicolai Parlog wrote: Hi! On Java 9 and 10, the JPMS is forgiving when it comes to illegal access of JDK internals and jdk.unsupported offers classes like Unsafe or Signal. The same is true for 11-b5. Are there any plans to change this, i.e. will Java 11 become stricter b

Accessing internals in Java 11

2018-03-25 Thread Nicolai Parlog
Hi! On Java 9 and 10, the JPMS is forgiving when it comes to illegal access of JDK internals and jdk.unsupported offers classes like Unsafe or Signal. The same is true for 11-b5. Are there any plans to change this, i.e. will Java 11 become stricter before the release? Would --illegal-access get