Bytecode Instrumentation and Class Loading.
Alan Bateman
Alan.Bateman at oracle.com
Mon Sep 30 18:28:05 UTC 2019
On 30/09/2019 19:12, Sam Thomas wrote:
> Hi Michael,
>
> I saw this method, but was unsure if this method only looked for
> loaded classes in the bootstrap class loader or if it proceeded to try
> load the class. I saw this being used in the ClassLoader.loadClass and
> the code and comments was what made me unsure. I'll hunt for the
> native code to see what is actually being done. Meanwhile, a google
> search made me notice that some implementations had this method named
> findBootstrapClass0. I can't tell if this is vendor specific or was it
> renamed at some point - Any idea?
It's a non-public method so not intended to be used directly and way too
fragile to depend on it as it could change or be removed at any time.
-Alan
More information about the serviceability-dev
mailing list