Review Request: 7193339 Prepare system classes be defined by a non-null module loader
mandy.chung at oracle.com
Fri Aug 24 15:53:09 UTC 2012
On 8/23/2012 6:27 PM, David Holmes wrote:
> Another way to simplify this would be to add a new overload of
> public static Class<?> forName(String name, boolean initialize)
> That way the loader argument could be dropped completely from a number
> of the use-cases.
Paul and Remi also suggest that during the jigsaw code review on the
jigsaw-dev mailing list. It's worth considering. I plan to look at the
usage of Class.forName in the JDK and add this new overload of
Class.forName method if there are many use of it but I haven't got to it
yet. I prefer to push this changeset as it and file a new CR and target
it for JDK 8.
More information about the core-libs-dev