RFR [9] 8153737: Unsupported Module

Alan Bateman Alan.Bateman at oracle.com
Fri Apr 8 14:42:27 UTC 2016

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.


More information about the core-libs-dev mailing list