>You can make them visible, but the class from the boot classloader or
>system classloader has to know what to do -- it calls
>Thread.getContextClassLoader() to get the class loader for the current
>thread, and asks *that* classloader to create the new object, instead
of
>using the "new" operator.

As an example then, Toolkit.getDefaultToolkit() does a Class.forName and
if that fails tries the system class loader when creating the default
AWT toolkit. I would assume then that the jdk12 interceptor is not going
to help in a scenario such as using PJA where one has to force pja.jar
into the boot class path. Is that correct?

Reply via email to