RFR 9 7180225 : SecurityExceptions not defined in some class loader methods

Mandy Chung mandy.chung at oracle.com
Wed Aug 17 03:33:19 UTC 2016


> On Aug 16, 2016, at 1:54 PM, Brent Christian <brent.christian at oracle.com> wrote:
> 
> Hi,
> 
> Please review this change which does some cleanup around documenting conditions for throwing SecurityExceptions.
> 
> It adds a missing @throws tag to Class.forName(String, boolean, ClassLoader), and consolidates specifics in the @throws tags of ClassLoader & Thread.
> 
> Bug:      https://bugs.openjdk.java.net/browse/JDK-7180225
> Webrev:   http://cr.openjdk.java.net/~bchristi/7180225/webrev.01/webrev/
> Specdiff: http://cr.openjdk.java.net/~bchristi/7180225/webrev.01/specdiff/package-summary.html

Looks fine.  A typo in Thread.java “(“ should be “{" 

1520      * @return  the context (@code ClassLoader} for this thread, or {@code null}

Mandy


More information about the core-libs-dev mailing list