Proposal: #BootstrapClassLoaderSearchInJVMTI

Tim Ellison Tim_Ellison at uk.ibm.com
Wed Jun 29 10:45:53 UTC 2016


mark.reinhold at oracle.com (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?

Regards,
Tim

> [1] http://docs.oracle.com/javase/8/docs/platform/jvmti/jvmti.html
> [2] http://docs.oracle.com/javase/8/docs/platform/jvmti/
> jvmti.html#AddToBootstrapClassLoaderSearch
> [3] http://openjdk.java.net/projects/jigsaw/spec/issues/
> #BootstrapClassLoaderSearchInJVMTI
> 

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


More information about the jpms-spec-experts mailing list