RFR(S) JDK-8150973 Hotspot agent use of sun.boot.class.path needs to be updated for Jigsaw

Alan Bateman Alan.Bateman at oracle.com
Mon Mar 28 19:45:40 UTC 2016



On 28/03/2016 20:35, Dmitry Samersoff wrote:
> Alan,
>
>> Shouldn't VirtualMachineImpl.bootClassPath return emptyList() rather
>> than throw an implementation specific exception?
> This function never used anymore. So I would prefer an exception to make
> any attempt to call it fails immediately.
>
> Would RuntimeException better?
>
The SA implementation implements com.sun.jdi.PathSearchingVirtualMachine 
and this method does not define any exceptions. Returning an empty List 
should be fine.

-Alan.


More information about the serviceability-dev mailing list