RFR(S) JDK-8150973 Hotspot agent use of sun.boot.class.path needs to be updated for Jigsaw
Dmitry Samersoff
dmitry.samersoff at oracle.com
Mon Mar 28 19:46:54 UTC 2016
Alan,
> Returning an empty List should be fine.
OK. I'll change it.
-Dmitry
On 2016-03-28 22:45, Alan Bateman wrote:
>
>
> 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.
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the serviceability-dev
mailing list