8049422: Remove @jdk.Exported

Mandy Chung mandy.chung at oracle.com
Thu Jan 7 18:42:02 UTC 2016

> On Jan 7, 2016, at 3:15 AM, Alan Bateman <alan.bateman at oracle.com> wrote:
> It's time to remove @jdk.Exported.
> As background, this annotation was introduced by JEP 179 in JDK 8 to document the supportness of JDK-specific APIs. It will become redundant and confusing once we bring the module system into JDK 9. The proposal in JEP 261 is to remove it and it seems saner to remove this in jdk9/dev in advance rather than trying to carry this in jigsaw/jake.
> The webrevs (top, jdk, langtools and nashorn repos) are here:
>  http://cr.openjdk.java.net/~alanb/8049422/

I looked through this change and I think you got everything.  Removing @jdk.Exported is okay.  Supported JDK-specific API is currently documented in modules.xml as an interim solution and it will be replaced the module definitions when the module system is in.


More information about the compiler-dev mailing list