On 08/04/2016 15:31, Peter Levart wrote:

Will jdk.unsupported be "required public" by java.se?
No because jdk.* are JDK-specific and should never be required by standard modules.


Will you have to explicitly -addmodule jdk.unsupported for class-path programs too?
It exports an API and therefore will be treated as a root module, so no -addmods. If you develop your own module that uses sun.misc.Unsafe then it will of course need to declare its dependency on jdk.unsupported.

-Alan.

Reply via email to