Review Request: JDK-8165563 ClassLoader::getSystemClassLoader will never be null
mandy.chung at oracle.com
Wed Sep 7 19:42:58 UTC 2016
ClassLoader::getPlatformClassLoader  is added in JDK 9 that is parent or ancestor of the system class loader . The system class loader will never be null. Another relevant change in JDK 9 was that the system initialization was reworked that the built-in system class loader is initialized very early during startup.
This patch updates ClassLoader::getSystemClassLoader to return a non-null system class loader and the implementation of a few methods to handle the null system class loader case.
More information about the core-libs-dev