RFR 8165793 : Provide an API to query if a ClassLoader is parallel capable
Mandy Chung
mandy.chung at oracle.com
Mon Oct 10 21:30:34 UTC 2016
> On Oct 10, 2016, at 1:36 PM, Brent Christian <brent.christian at oracle.com> wrote:
>
> Hi,
>
> Please review my fix for 8165793. This follows the discussion here:
> http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-September/009328.html
>
> The proposal is to add a new public method on ClassLoader:
>
> /**
> * Returns {@code true} if this class loader is
> * {@linkplain #registerAsParallelCapable parallel capable}, otherwise
> * {@code false}.
> *
> * @return {@code true} if this class loader is parallel capable,
> * otherwise {@code false}.
> * @since 9
> */
> public final boolean isParallelCapable();
The patch looks fine. It would be good to add @see #registerAsParallelCapable in this new method. Also the first “parallel capable” occurrance in the class spec and the registerAsParallelCapable method spec to @linkplain #isParallelCapable.
Mandy
More information about the core-libs-dev
mailing list