readAndReportExecutionResult() in the ExecutionControl does not actually throw ClassNotFoundException

Robert Field robert.field at oracle.com
Fri Apr 15 21:25:26 UTC 2016


Thank you, Grigory.

Created:
     https://bugs.openjdk.java.net/browse/JDK-8154377

-Robert

On 04/11/16 15:30, Grigory Ptashko wrote:
> Hello.
>
> Studying the jshell sources I noticed that the method readAndReportExecutionResult()
> in the ExecutionControl class does not actually throw ClassNotFoundException as it is
> declared.
> The reason I’m writing about it is that this throws ClassNotFoundException confused
> me when I was trying to understand how the interaction between the ExecutionControl and
> the RemoteAgent is being carried out.
> In my opinion - a developer who just started to dive into sources - such subtle things
> can lead the understanding in a wrong way. I would remove it.
> Does anyone can comment on this?
>
> Thank you.
>
> --
> Best regards,
> Grigory Ptashko
>
> +7 (916) 1489766
> grigory.ptashko at gmail.com
> facebook.com/GrigoryPtashko
>



More information about the kulla-dev mailing list