8008662: Add @jdk.Exported to JDK-specific/exported APIs

Mandy Chung mandy.chung at oracle.com
Thu Oct 17 21:04:50 UTC 2013


On 10/17/13 12:25 PM, Andrew wrote:
>
> I just came across this trying to understand what the new annotation means.
>
> Is the intention for these 'exported' APIs to be eventually replaced by proper
> parts of the specification (i.e. java.* or javax.*).  I'm not keen on the idea
> of encouraging the use of APIs that are only in this implementation of the JDK.

@Exported APIs are supported for use outside JDK implementation. You can 
refer to JEP 179 [1] for details.

Most of the APIs annotated with @Exported are not new and have been 
supported by Oracle JDK(links to jdk7 docs)
http://docs.oracle.com/javase/7/docs/technotes/guides/management/
http://docs.oracle.com/javase/7/docs/technotes/guides/security/index.html

The JDK internal APIs remain to be unsupported.

Mandy
[1] http://openjdk.java.net/jeps/179




More information about the security-dev mailing list