Proposal: #BootstrapClassLoaderSearchInJVMTI

Tim Ellison Tim_Ellison at
Wed Jun 29 10:45:53 UTC 2016

mark.reinhold at (Mark Reinhold) wrote on 28/06/2016 22:22:15:
> Issue summary
> -------------
>   #BootstrapClassLoaderSearchInJVMTI --- The JVM TI API [1] defines a
>   function, `AddToBootstrapClassLoaderSearch` [2], by which an
>   instrumentation agent can append a file-system path element to the
>   bootstrap class loader's class path.  The bootstrap class path, as
>   such, no longer exists, but this function remains supported for now.
>   Should this function be deprecated, with the intent to remove it in a
>   future release, or should it remain supported?  It appears to be
>   critical to the operation of at least one popular instrumentation
>   agent. [3]
> Proposal
> --------
> Retain this method.  Do not deprecate it.

What would be the effect calling this function on a modular runtime when
passed a directory search path segment? a modular JAR? a regular JAR?


> [1]
> [2]
> jvmti.html#AddToBootstrapClassLoaderSearch
> [3]
> #BootstrapClassLoaderSearchInJVMTI

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

More information about the jpms-spec-observers mailing list