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.

-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20160408/65931791/attachment.html>


More information about the serviceability-dev mailing list