New JEP: Concise Method Bodies
kevinb at google.com
Tue Sep 25 14:25:28 UTC 2018
On Mon, Sep 24, 2018 at 10:17 AM Alex Buckley <alex.buckley at oracle.com>
On 9/21/2018 4:07 PM, Kevin Bourrillion wrote:
> > private String a(String b, int c)
> > throws SomeCheckedException = *d.e()*::f;
(Eek, I'll try to remind myself to stop boldfacing things.)
> > ... and would this be valid whether it is `e()` or `f()` (or both) that
> > throws SomeCheckedException?
> I expect so. Do you have a situation that suggests otherwise?
Nope, that sounds like what it should do, of course.
Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the amber-spec-experts