Review for the new static ClassLoader.getPlatformClassLoader method

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Mon Mar 14 04:39:32 UTC 2016


+1

ClassLoader.getBuiltinPlatformClassLoader method could be private

-Sundar

On 3/12/2016 3:26 AM, Mandy Chung wrote:
> http://cr.openjdk.java.net/~mchung/jigsaw/webrevs/8146373/webrev.00/
>
> This adds a new static ClassLoader.getPlatformClassLoader method to return a class loader via which all of the built-in Java SE and JDK types are visible.  This would be useful as several JDK modules are deprivileged.  To prepare for the future deprivileging work, this patch also relaxes the check such that java.* classes are defined by the platform class loader or its ancestor.
>
> Mandy
> [1] http://openjdk.java.net/projects/jigsaw/spec/issues/#PlatformClassLoader



More information about the jigsaw-dev mailing list