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

Mandy Chung mandy.chung at oracle.com
Mon Oct 7 03:31:08 PDT 2013


On 10/6/2013 1:03 PM, Alan Bateman wrote:
>
> The webrev with the proposed update is here:
>   http://cr.openjdk.java.net/~alanb/8008662/webrev.02/
>

I went through the entire webrev and the change looks good.

>
> For the review then the intention is that @jdk.Exported be added to 
> the package-info and all public/protected types in these APIs. The 
> only exceptions are two cases where I've added @jdk.Exported(false), 
> specifically:
>
> - com.sun.management.OSMBeanFactory as it clearly documents to stay away

It's a bug.  We should fix it and remove this public class (I have filed 
JDK-8025985 for it).

> - com.sun.security.auth.callback.DialogCallbackHandler as it for the 
> chop (see JEP 162)

Good and this will be gone in jdk9.

Mandy


More information about the security-dev mailing list