readAndReportExecutionResult() in the ExecutionControl does not actually throw ClassNotFoundException

Grigory Ptashko grigory.ptashko at gmail.com
Mon Apr 11 22:30:11 UTC 2016


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