RFR 8165793 : Provide an API to query if a ClassLoader is parallel capable
Brent Christian
brent.christian at oracle.com
Mon Oct 10 20:36:04 UTC 2016
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();
Bug:
https://bugs.openjdk.java.net/browse/JDK-8165793
Webrev:
http://cr.openjdk.java.net/~bchristi/8165793/webrev.00/
Thanks!
-Brent
More information about the core-libs-dev
mailing list